Link temp aliases to their main def.

This fixes the kill sets not building properly.
This commit is contained in:
Bill Currie 2012-12-11 12:57:37 +09:00
parent 28c37b367d
commit 6b4efaa3e4

View file

@ -819,6 +819,8 @@ expr_alias (sblock_t *sblock, expr_t *e, operand_t **op)
top = new_operand (op_temp); top = new_operand (op_temp);
top->type = type; top->type = type;
top->o.tempop.alias = aop; top->o.tempop.alias = aop;
top->next = aop->o.tempop.alias_ops;
aop->o.tempop.alias_ops = top;
} }
*op = top; *op = top;
} else if (aop->op_type == op_def) { } else if (aop->op_type == op_def) {