Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 51cc46a08e5c6cdbb95dab5222fb08ffb1080248..e996d392d86606cc71c0910f5957f6dbbbf8b4ac 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -3712,10 +3712,15 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub( |
__ push(edx); |
__ push(ecx); |
__ push(eax); |
- __ push(ebx); |
+ __ push(Immediate(Smi::FromInt(NONE))); // PropertyAttributes |
+ __ push(Immediate(Smi::FromInt( |
+ Code::ExtractExtraICStateFromFlags(flags) == kStrictMode |
+ ? kStrictMode |
+ : kNonStrictMode))); |
+ __ push(ebx); // return address |
// Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kSetProperty, 3, 1); |
+ __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
return GetCode(flags); |
} |