mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
ast-test should also finalize functions directly
This commit is contained in:
parent
5c385a3c78
commit
bd84ebcf74
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ int main()
|
|||
if (!ast_function_codegen(functions_data[i], ir)) {
|
||||
assert(!"failed to generate function");
|
||||
}
|
||||
if (!ir_function_finalize(functions_data[i]->ir_func))
|
||||
assert(!"finalize on function failed...");
|
||||
}
|
||||
|
||||
/* dump */
|
||||
|
|
Loading…
Reference in a new issue