]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
Even safer vector macros
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 75946959a900ed0914dd21b2072359c2594f34d4..c8e7e0c162f0caf5e12315cc9633e88429c7248c 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -312,6 +312,10 @@ typedef struct ir_builder_s
 
     ir_value    **extparams;
 
+    /* the highest func->allocated_locals */
+    size_t        max_locals;
+    uint32_t      first_common_local;
+
     const char **filenames;
     qcint       *filestrings;
     /* we cache the #IMMEDIATE string here */