X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fcprop.c;h=e1ad2d712d25169357298d579681ba04a7e82bd7;hb=c80273cfd19ca8d0a5030bb02a63b8712baf2465;hp=1696e947303c457730d416be675ab237d0a8b6b3;hpb=c4a3b30460c7ea1a1fb3c97cfc8478555714af2f;p=mono.git diff --git a/mono/mini/cprop.c b/mono/mini/cprop.c index 1696e947303..e1ad2d712d2 100644 --- a/mono/mini/cprop.c +++ b/mono/mini/cprop.c @@ -77,7 +77,7 @@ local_copy_prop (MonoCompile *cfg, MonoInst *code) //g_print ("starting BB\n"); while (ins) { - spec = ins_spec [ins->opcode]; + spec = ins_get_spec (ins->opcode); //print_ins (0, ins); if (spec [MONO_INST_CLOB] != 's' && spec [MONO_INST_CLOB] != '1' && spec [MONO_INST_CLOB] != 'd' && spec [MONO_INST_CLOB] != 'a' && spec [MONO_INST_CLOB] != 'c') { @@ -115,7 +115,7 @@ local_copy_prop (MonoCompile *cfg, MonoInst *code) if (spec [MONO_INST_CLOB] == 'c') { /* this is a call, invalidate all the pairs */ acp = NULL; - } else if ((ins->opcode) == CEE_BR || (ins->opcode >= CEE_BEQ && ins->opcode <= CEE_BLT) || + } else if ((ins->opcode) == OP_BR || (ins->opcode >= CEE_BEQ && ins->opcode <= CEE_BLT) || (ins->opcode >= CEE_BNE_UN && ins->opcode <= CEE_BLT_UN)) { acp = NULL; /* invalidate all pairs */ /* it's not enough to invalidate the pairs, because we don't always