Set the operand type for op_label.

It was never set before (and thus void), but as it now needs to be
ev_short, set it when getting the fake def used for label operands.
This commit is contained in:
Bill Currie 2012-11-19 12:30:23 +09:00
parent 5018f5147c
commit 674c823547

View file

@ -104,6 +104,7 @@ get_operand_def (expr_t *expr, operand_t *op)
case op_value:
return get_value_def (op->o.value, op->type);
case op_label:
op->type = ev_short;
zero_def.type = &type_short;
return &zero_def; //FIXME
case op_temp: