mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 12:22:26 +00:00
block and value codegen protos
This commit is contained in:
parent
13ec68bc4f
commit
c692794eb5
2 changed files with 11 additions and 2 deletions
11
ast.c
11
ast.c
|
@ -181,4 +181,13 @@ void ast_function_delete(ast_function *self)
|
|||
/* AST codegen aprt
|
||||
*/
|
||||
|
||||
/* TODO */
|
||||
/* Some dummies so it compiles... */
|
||||
bool ast_value_codegen(ast_value *self, ast_function *func, ir_value **out)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ast_block_codegen(ast_block *self, ast_function *func, ir_value **out)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
2
ast.h
2
ast.h
|
@ -148,7 +148,7 @@ void ast_block_delete(ast_block*);
|
|||
MEM_VECTOR_PROTO(ast_block, ast_value*, locals);
|
||||
MEM_VECTOR_PROTO(ast_block, ast_expression*, exprs);
|
||||
|
||||
bool ast_block_codegen(ast_block*, ir_function*, ir_value**);
|
||||
bool ast_block_codegen(ast_block*, ast_function*, ir_value**);
|
||||
|
||||
/* Function
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue