]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_binary_new to initialize codegen function ptr, codegen proto for store and binary...
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 4cbd453411e709d007f59c04cd18e2113c7f407f..041bff7959749b747ca125838bd54f9783474b25 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -122,15 +122,13 @@ ast_binary* ast_binary_new(lex_ctx_t  ctx,
                            ast_value *right);
 void ast_binary_delete(ast_binary*);
 
-/* hmm, seperate functions? */
-bool ast_bin_add_codegen(ast_binary*, ir_function*, ir_value**);
-/* ... */
-
+/* hmm, seperate functions?
+bool ast_block_codegen(ast_block*, ast_function*, ir_value**);
+ */
 /* maybe for this one */
-bool ast_bin_store_codegen(ast_binary*, ir_function*, ir_value**);
+bool ast_bin_store_codegen(ast_binary*, ast_function*, ir_value**);
 
-/* could decide what to use */
-bool ast_binary_codegen(ast_binary*, ir_function*, ir_value**);
+bool ast_binary_codegen(ast_binary*, ast_function*, ir_value**);
 
 /* Blocks
  *