]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_function generates parameter locals, ir_function_create_local now allows adding...
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index ecc2498b3356ba10f535f5bdbc9c140a1b0f7e81..26edec91e791c5a3577316c99151d18eb696ad8d 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -125,7 +125,7 @@ void ast_value_delete(ast_value*);
 bool ast_value_set_name(ast_value*, const char *name);
 
 bool ast_value_codegen(ast_value*, ast_function*, bool lvalue, ir_value**);
-bool ast_local_codegen(ast_value *self, ir_function *func);
+bool ast_local_codegen(ast_value *self, ir_function *func, bool isparam);
 bool ast_global_codegen(ast_value *self, ir_builder *ir);
 
 /* Binary