]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
Ignore generating a return instruction in accumulated functions, eventually we'll...
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 3c236ea7f12e83200656afd82697abd08946d69e..507a2317e461c6251d39656cb8101ff25d0a4b49 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -232,6 +232,7 @@ typedef struct ir_function_s
 #define IR_FLAG_HAS_GOTO          (1<<3)
 #define IR_FLAG_INCLUDE_DEF       (1<<4)
 #define IR_FLAG_ERASEABLE         (1<<5)
+#define IR_FLAG_ACCUMULATE        (1<<6)
 #define IR_FLAG_MASK_NO_OVERLAP     (IR_FLAG_HAS_ARRAYS | IR_FLAG_HAS_UNINITIALIZED)
 #define IR_FLAG_MASK_NO_LOCAL_TEMPS (IR_FLAG_HAS_ARRAYS | IR_FLAG_HAS_UNINITIALIZED)