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:
Bill Currie 2012-11-07 11:28:40 +09:00
parent 2b2ea5c9b3
commit fe13f21d9d

View file

@ -137,7 +137,7 @@ operand_label (operand_t *op)
if (o->op_type == op_temp) {
if (o->o.tempop.daglabel)
return sym->daglabel;
return o->o.tempop.daglabel;
label = new_label ();
label->op = op;
o->o.tempop.daglabel = label;