[sdb] Fix the decoding of the next array when decoding sequence points.
[mono.git] / mono / mini / local-propagation.c
index e564f7a473651b3259b093b95b828d1d68b063dd..7bdb517bd2bf5724a85a0a70c98d103ce7701b37 100644 (file)
@@ -547,7 +547,8 @@ mono_local_deadce (MonoCompile *cfg)
                                }
                        }
 
-                       if (reg_is_softreg (ins->dreg, spec [MONO_INST_DEST])) {
+                       /* Enabling this on x86 could screw up the fp stack */
+                       if (reg_is_softreg_no_fpstack (ins->dreg, spec [MONO_INST_DEST])) {
                                /* 
                                 * Assignments to global vregs can only be eliminated if there is another
                                 * assignment to the same vreg later in the same bblock.