]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
-Oglobal-temps
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 6eaba3c9fd95b6757f3a638131aa93439aca605b..05b7447d2e2daa391553b4400bae360f8a3a20ec 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -252,6 +252,7 @@ typedef struct ir_function_s
     ir_value **locals;
 
     size_t allocated_locals;
+    size_t globaltemps;
 
     ir_block*     first;
     ir_block*     last;
@@ -314,7 +315,9 @@ typedef struct ir_builder_s
 
     /* the highest func->allocated_locals */
     size_t        max_locals;
+    size_t        max_globaltemps;
     uint32_t      first_common_local;
+    uint32_t      first_common_globaltemp;
 
     const char **filenames;
     qcint       *filestrings;