mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
make ast_function_label also work when -dumpfin is used instead of -dump
This commit is contained in:
parent
6983142c4d
commit
ba9217e576
2 changed files with 1 additions and 2 deletions
2
ast.c
2
ast.c
|
@ -940,7 +940,7 @@ const char* ast_function_label(ast_function *self, const char *prefix)
|
|||
size_t len;
|
||||
char *from;
|
||||
|
||||
if (!opts_dump)
|
||||
if (!opts_dump && !opts_dumpfin)
|
||||
return NULL;
|
||||
|
||||
id = (self->labelcount++);
|
||||
|
|
1
ir.c
1
ir.c
|
@ -542,7 +542,6 @@ bool ir_function_finalize(ir_function *self)
|
|||
|
||||
if (!ir_function_calculate_liferanges(self))
|
||||
return false;
|
||||
|
||||
if (!ir_function_allocate_locals(self))
|
||||
return false;
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue