[interp] Handle the `no.` prefix instruction as a no-op.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 20 Jun 2017 22:43:26 +0000 (00:43 +0200)
committerBernhard Urban <bernhard.urban@xamarin.com>
Wed, 21 Jun 2017 15:26:25 +0000 (17:26 +0200)
mono/mini/interp/transform.c

index 2a75f95f8900baeeec92904fe4fe589676ef5d8e..76e465c993f6de2d3eb2d886ee28809fa4254547 100644 (file)
@@ -3784,12 +3784,10 @@ generate (MonoMethod *method, RuntimeMethod *rtm, unsigned char *is_bb_start, Mo
                                td.sp -= 3;
                                td.ip += 1;
                                break;
-#if 0
                        case CEE_NO_:
                                /* FIXME: implement */
-                               ip += 2;
+                               td.ip += 2;
                                break;
-#endif
                        case CEE_RETHROW: {
                                int clause_index = td.clause_indexes [in_offset];
                                g_assert (clause_index != -1);