mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +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;
|
int i;
|
||||||
|
|
||||||
dag_make_children (dag, s, operands, children);
|
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++)
|
for (i = 0; i < 3; i++)
|
||||||
if (children[i])
|
if (children[i])
|
||||||
dag_make_var_live (live_vars, operands[i]);
|
dag_make_var_live (live_vars, operands[i]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue