mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
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:
parent
5018f5147c
commit
674c823547
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue