ast_local/global_codegen exposed through the header for now

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-05-02 18:36:11 +02:00
parent 92a4431c86
commit 314d45ff82

2
ast.h
View file

@ -117,6 +117,8 @@ 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_global_codegen(ast_value *self, ir_builder *ir);
/* Binary
*