]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
ast_function generates parameter locals, ir_function_create_local now allows adding...
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 7aa889bae7e25ab3ca822c8a562a9d9e90e4447b..fb0f699283dc9036aa16111359c184af6835875b 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -265,7 +265,7 @@ MEM_VECTOR_PROTO(ir_function, int, params);
 MEM_VECTOR_PROTO(ir_function, ir_block*, blocks);
 
 ir_value* ir_function_get_local(ir_function *self, const char *name);
-ir_value* ir_function_create_local(ir_function *self, const char *name, int vtype);
+ir_value* ir_function_create_local(ir_function *self, const char *name, int vtype, bool param);
 
 bool GMQCC_WARN ir_function_finalize(ir_function*);
 /*