Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 5633) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -9428,18 +9428,8 @@ |
// to make sure that we switch between 0 and -0. |
// Also enter it if the value of the smi is Smi::kMinValue. |
__ SmiNeg(rax, rax, &done); |
+ __ jmp(&slow); |
- // Either zero or Smi::kMinValue, neither of which become a smi when |
- // negated. |
- if (negative_zero_ == kStrictNegativeZero) { |
- __ SmiCompare(rax, Smi::FromInt(0)); |
- __ j(not_equal, &slow); |
- __ Move(rax, Factory::minus_zero_value()); |
- __ jmp(&done); |
- } else { |
- __ jmp(&slow); |
- } |
- |
// Try floating point case. |
__ bind(&try_float); |
__ movq(rdx, FieldOperand(rax, HeapObject::kMapOffset)); |