Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 06da7ba0e7d521844523e756106ee2e090756ac6..d529f30e7805e14fd3c947fb307328c4034fb643 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -3093,8 +3093,8 @@ void FullCodeGenerator::EmitIsMinusZero(CallRuntime* expr) { |
Handle<Map> map = masm()->isolate()->factory()->heap_number_map(); |
__ CheckMap(eax, map, if_false, DO_SMI_CHECK); |
- __ cmp(FieldOperand(eax, HeapNumber::kExponentOffset), Immediate(0x80000000)); |
- __ j(not_equal, if_false); |
+ __ cmp(FieldOperand(eax, HeapNumber::kExponentOffset), Immediate(0x1)); |
+ __ j(no_overflow, if_false); |
__ cmp(FieldOperand(eax, HeapNumber::kMantissaOffset), Immediate(0x00000000)); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
Split(equal, if_true, if_false, fall_through); |