Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index d1cd0884f7f5a80c9eadb7ac4a655b5e4cc87ac0..24c6fa51441bb1fe291abf1e591a4ad0634639bc 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -873,7 +873,7 @@ void KeyedStoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
__ Push(r2, r1, r0); |
__ mov(r0, Operand(Smi::FromInt(strict_mode))); // Strict mode. |
- __ Push(r1, r0); |
+ __ Push(r0); |
__ TailCallRuntime(Runtime::kSetProperty, 4, 1); |
} |
@@ -1213,12 +1213,11 @@ void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
__ Push(r1, r2, r0); |
- __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
__ mov(r0, Operand(Smi::FromInt(strict_mode))); |
- __ Push(r1, r0); |
+ __ Push(r0); |
// Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
+ __ TailCallRuntime(Runtime::kSetProperty, 4, 1); |
} |