Don't set 'last' after emitting the OP_GC_SPILL_SLOT_LIVENESS_DEF () opcode.
authorZoltan Varga <vargaz@gmail.com>
Fri, 12 Nov 2010 23:12:23 +0000 (00:12 +0100)
committerZoltan Varga <vargaz@gmail.com>
Mon, 3 Jan 2011 14:42:43 +0000 (15:42 +0100)
mono/mini/mini-codegen.c

index d611a52604b66ae6534539cda5be5773579cae50..5b9ee9bc1f6c4e5a22439b4ea6870b7996ba3e61 100644 (file)
@@ -911,7 +911,6 @@ create_spilled_store (MonoCompile *cfg, MonoBasicBlock *bb, int spill, int reg,
                def->inst_c0 = spill;
                def->inst_c1 = bank;
                mono_bblock_insert_after_ins (bb, store, def);
-               *last = def;
        }
 }