mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Don't attach a dag label to its own node.
This kills a = a; statements :)
This commit is contained in:
parent
0583dc82d3
commit
2c09464e80
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ dag_create (flownode_t *flownode)
|
|||
}
|
||||
}
|
||||
lx = operand_label (dag, operands[0]);
|
||||
if (lx) {
|
||||
if (lx && lx->dagnode != n) {
|
||||
lx->expr = s->expr;
|
||||
dagnode_attach_label (n, lx);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue