Index: src/x64/full-codegen-x64.cc |
=================================================================== |
--- src/x64/full-codegen-x64.cc (revision 3730) |
+++ src/x64/full-codegen-x64.cc (working copy) |
@@ -1625,12 +1625,10 @@ |
} |
} |
// Call stub for +1/-1. |
- __ push(rax); |
- __ Push(Smi::FromInt(1)); |
GenericBinaryOpStub stub(expr->binary_op(), |
NO_OVERWRITE, |
NO_GENERIC_BINARY_FLAGS); |
- __ CallStub(&stub); |
+ stub.GenerateCall(masm_, rax, Smi::FromInt(1)); |
__ bind(&done); |
// Store the value returned in rax. |