X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Flocal-propagation.c;h=7bdb517bd2bf5724a85a0a70c98d103ce7701b37;hb=204053720318b1d270e4e3529d742f8fcb7231f7;hp=e564f7a473651b3259b093b95b828d1d68b063dd;hpb=bd3f6f5abcd1e156d5fe028156846cd9696d6464;p=mono.git diff --git a/mono/mini/local-propagation.c b/mono/mini/local-propagation.c index e564f7a4736..7bdb517bd2b 100644 --- a/mono/mini/local-propagation.c +++ b/mono/mini/local-propagation.c @@ -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.