Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index b8cad4bc69f1eca40904f0964d325554687f6c78..777924b105472ff9ec3575fdf14952d0eec0396f 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -710,9 +710,8 @@ void TypeRecordingUnaryOpStub::GenerateHeapNumberCodeSub(MacroAssembler* masm, |
__ j(not_equal, slow); |
if (mode_ == UNARY_OVERWRITE) { |
- __ mov(edx, FieldOperand(eax, HeapNumber::kExponentOffset)); |
- __ xor_(edx, HeapNumber::kSignMask); // Flip sign. |
- __ mov(FieldOperand(eax, HeapNumber::kExponentOffset), edx); |
+ __ xor_(FieldOperand(eax, HeapNumber::kExponentOffset), |
+ Immediate(HeapNumber::kSignMask)); // Flip sign. |
} else { |
__ mov(edx, Operand(eax)); |
// edx: operand |