[runtime] remove_block_if_useless now ignores OP_IL_SEQ_POINT.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Tue, 16 Dec 2014 20:26:43 +0000 (20:26 +0000)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Tue, 16 Dec 2014 20:28:27 +0000 (20:28 +0000)
mono/mini/branch-opts.c

index 2be95e736424d43c562b3e52612273e3372788f1..b31ea8d602b8f0dab7d2b632f06d0467835f7eda 100644 (file)
@@ -885,6 +885,7 @@ remove_block_if_useless (MonoCompile *cfg, MonoBasicBlock *bb, MonoBasicBlock *p
        MONO_BB_FOR_EACH_INS (bb, inst) {
                switch (inst->opcode) {
                case OP_NOP:
+               case OP_IL_SEQ_POINT:
                        break;
                case OP_BR:
                        target_bb = inst->inst_target_bb;