Fix missing 'int op;' in load_from_end, accidently removed it together with the other vars whil making it use general_instruction

This commit is contained in:
Wolfgang Bumiller 2012-05-01 16:44:36 +02:00
parent 8ab51544be
commit 22cf7e0a4d

1
ir.c
View file

@ -1032,6 +1032,7 @@ ir_value* ir_block_create_fieldaddress(ir_block *self, const char *label, ir_val
ir_value* ir_block_create_load_from_ent(ir_block *self, const char *label, ir_value *ent, ir_value *field, int outype) ir_value* ir_block_create_load_from_ent(ir_block *self, const char *label, ir_value *ent, ir_value *field, int outype)
{ {
int op;
if (ent->vtype != TYPE_ENTITY) if (ent->vtype != TYPE_ENTITY)
return NULL; return NULL;