Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index b146809a24e19a745a5d3810b97ad4bcff8412d9..adee973a266de4f0001deb395966f2b70b325bed 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3073,8 +3073,8 @@ void FullCodeGenerator::EmitIsMinusZero(CallRuntime* expr) { |
Handle<Map> map = masm()->isolate()->factory()->heap_number_map(); |
__ CheckMap(rax, map, if_false, DO_SMI_CHECK); |
__ cmpl(FieldOperand(rax, HeapNumber::kExponentOffset), |
- Immediate(0x80000000)); |
- __ j(not_equal, if_false); |
+ Immediate(0x1)); |
+ __ j(no_overflow, if_false); |
__ cmpl(FieldOperand(rax, HeapNumber::kMantissaOffset), |
Immediate(0x00000000)); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |