2005-01-25 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mono / mini / cprop.c
index c24eb0f90990394868462fbcc2b2fc013d827d53..1696e947303c457730d416be675ab237d0a8b6b3 100644 (file)
@@ -112,7 +112,7 @@ local_copy_prop (MonoCompile *cfg, MonoInst *code)
                        acp = add_acp (cfg, acp, ins->sreg1, ins->dreg, spec [MONO_INST_SRC1]);
                }
 
-               if (spec [MONO_INST_CLOB] != 'c') {
+               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) ||