mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-02 09:02:32 +00:00
Check for a flow var for temp aliases.
This commit is contained in:
parent
9d27764576
commit
92fffb3c7e
1 changed files with 4 additions and 2 deletions
|
@ -648,10 +648,12 @@ flow_uninit_scan_statements (flownode_t *node, set_t *defs, set_t *uninit)
|
||||||
op = var->op;
|
op = var->op;
|
||||||
if (op->o.tempop.alias) {
|
if (op->o.tempop.alias) {
|
||||||
var = op->o.tempop.alias->o.tempop.flowvar;
|
var = op->o.tempop.alias->o.tempop.flowvar;
|
||||||
|
if (var)
|
||||||
set_difference (defs, var->define);
|
set_difference (defs, var->define);
|
||||||
}
|
}
|
||||||
for (op = op->o.tempop.alias_ops; op; op = op->next) {
|
for (op = op->o.tempop.alias_ops; op; op = op->next) {
|
||||||
var = op->o.tempop.flowvar;
|
var = op->o.tempop.flowvar;
|
||||||
|
if (var)
|
||||||
set_difference (defs, var->define);
|
set_difference (defs, var->define);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue