From: Wolfgang (Blub) Bumiller Date: Wed, 2 May 2012 16:36:11 +0000 (+0200) Subject: ast_local/global_codegen exposed through the header for now X-Git-Tag: 0.1-rc1~520 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=314d45ff82bd77ce88aa8fa483af4d36fe63dbcf;p=xonotic%2Fgmqcc.git ast_local/global_codegen exposed through the header for now --- diff --git a/ast.h b/ast.h index f114999..bea59d5 100644 --- a/ast.h +++ b/ast.h @@ -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 *