]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.c
ir_function stores max_varargs now
[xonotic/gmqcc.git] / ir.c
diff --git a/ir.c b/ir.c
index f743d33ddaf61c10d0740d3dc0ffd5098c4bf21c..bd8f12fb20f79a1d2a72ec4ec6b6d9aea981fb13 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -485,6 +485,8 @@ ir_function* ir_function_new(ir_builder* owner, int outtype)
     self->values = NULL;
     self->locals = NULL;
 
+    self->max_varargs = NULL;
+
     self->code_function_def = -1;
     self->allocated_locals = 0;
     self->globaltemps      = 0;