Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index e623ea1914ff06e96447bfca8f722042090bd58e..fe297093ed15739ce3850328838388fa98ed12fc 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -4038,7 +4038,14 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub( |
// Push receiver, key and value for runtime call. |
__ Push(r2, r1, r0); |
- __ TailCallRuntime(Runtime::kSetProperty, 3, 1); |
+ __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
+ __ mov(r0, Operand(Smi::FromInt( |
+ Code::ExtractExtraICStateFromFlags(flags) == kStrictMode |
+ ? kStrictMode |
+ : kNonStrictMode))); |
+ __ Push(r1, r0); |
+ |
+ __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
return GetCode(flags); |
} |