mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Fix a segfault causing c&p error.
Found when I tried to skip attaching temporary vars to dag nodes (which proved to be a bad move in the end, but exposing bugs is good).
This commit is contained in:
parent
2b2ea5c9b3
commit
fe13f21d9d
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ operand_label (operand_t *op)
|
||||||
|
|
||||||
if (o->op_type == op_temp) {
|
if (o->op_type == op_temp) {
|
||||||
if (o->o.tempop.daglabel)
|
if (o->o.tempop.daglabel)
|
||||||
return sym->daglabel;
|
return o->o.tempop.daglabel;
|
||||||
label = new_label ();
|
label = new_label ();
|
||||||
label->op = op;
|
label->op = op;
|
||||||
o->o.tempop.daglabel = label;
|
o->o.tempop.daglabel = label;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue