]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
Make functions copy their extparams
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 9b5171d26908dd6423ef07859d5cc830d7b746c6..00e2ddc0382229d5d60f58a12bbafe6388e81b5d 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -240,6 +240,9 @@ typedef struct ir_function_s
     /* locally defined variables */
     ir_value **locals;
 
+    /* how many of the locals are parameters */
+    size_t max_parameters;
+
     size_t allocated_locals;
 
     ir_block*     first;
@@ -290,6 +293,8 @@ typedef struct ir_builder_s
     ir_value    **globals;
     ir_value    **fields;
 
+    ir_value    **extparams;
+
     const char **filenames;
     qcint       *filestrings;
     /* we cache the #IMMEDIATE string here */