From 674c823547b884ac77ceea7d12cc11619c4a0756 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 19 Nov 2012 12:30:23 +0900 Subject: [PATCH] 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. --- tools/qfcc/source/emit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/emit.c b/tools/qfcc/source/emit.c index 4b6749068..7ac86abba 100644 --- a/tools/qfcc/source/emit.c +++ b/tools/qfcc/source/emit.c @@ -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: