mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Treat func statements similarly to flow statements
func statements need their operands marked live like flow statements do because usage is more indirect.
This commit is contained in:
parent
db4a7a139e
commit
6e21c3ae2e
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ dag_create (flownode_t *flownode)
|
|||
int i;
|
||||
|
||||
dag_make_children (dag, s, operands, children);
|
||||
if (s->type == st_flow)
|
||||
if (s->type == st_flow || s->type == st_func)
|
||||
for (i = 0; i < 3; i++)
|
||||
if (children[i])
|
||||
dag_make_var_live (live_vars, operands[i]);
|
||||
|
|
Loading…
Reference in a new issue