]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
ir_function stores max_varargs now
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index b1b0ea7b0b99837dbc8b5e4628db0e69d87c2076..c2c94a1771d0f2b54c40cb83e41fb0df55d0a08b 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -273,6 +273,9 @@ typedef struct ir_function_s
     size_t run_id;
 
     struct ir_builder_s *owner;
+
+    /* vararg support: */
+    size_t max_varargs;
 } ir_function;
 #define IR_FLAG_HAS_ARRAYS        (1<<1)
 #define IR_FLAG_HAS_UNINITIALIZED (1<<2)