Index: src/arm/code-stubs-arm.cc |
=================================================================== |
--- src/arm/code-stubs-arm.cc (revision 8493) |
+++ src/arm/code-stubs-arm.cc (working copy) |
@@ -1731,22 +1731,14 @@ |
void UnaryOpStub::GenerateTypeTransition(MacroAssembler* masm) { |
- // Prepare to push argument. |
- __ mov(r3, Operand(r0)); |
- |
- // Push this stub's key. Although the operation and the type info are |
- // encoded into the key, the encoding is opaque, so push them too. |
- __ mov(r2, Operand(Smi::FromInt(MinorKey()))); |
- __ mov(r1, Operand(Smi::FromInt(op_))); |
+ __ mov(r3, Operand(r0)); // the operand |
+ __ mov(r2, Operand(Smi::FromInt(op_))); |
+ __ mov(r1, Operand(Smi::FromInt(mode_))); |
__ mov(r0, Operand(Smi::FromInt(operand_type_))); |
- |
__ Push(r3, r2, r1, r0); |
__ TailCallExternalReference( |
- ExternalReference(IC_Utility(IC::kUnaryOp_Patch), |
- masm->isolate()), |
- 4, |
- 1); |
+ ExternalReference(IC_Utility(IC::kUnaryOp_Patch), masm->isolate()), 4, 1); |
} |