| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 774de718444a3935af93004c0eb1c3c236941147..89e959f513ab5b74fb5bca53fd6aa68d3f61b9cb 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -2408,12 +2408,13 @@ MaybeObject* StoreStubCompiler::CompileStoreInterceptor(JSObject* receiver,
|
| __ push(rdx); // receiver
|
| __ push(rcx); // name
|
| __ push(rax); // value
|
| + __ Push(Smi::FromInt(strict_mode_));
|
| __ push(rbx); // restore return address
|
|
|
| // Do tail-call to the runtime system.
|
| ExternalReference store_ic_property =
|
| ExternalReference(IC_Utility(IC::kStoreInterceptorProperty));
|
| - __ TailCallExternalReference(store_ic_property, 3, 1);
|
| + __ TailCallExternalReference(store_ic_property, 4, 1);
|
|
|
| // Handle store cache miss.
|
| __ bind(&miss);
|
| @@ -3490,10 +3491,15 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedStoreStub(
|
| __ push(rdx); // receiver
|
| __ push(rcx); // key
|
| __ push(rax); // value
|
| + __ Push(Smi::FromInt(NONE)); // PropertyAttributes
|
| + __ Push(Smi::FromInt(
|
| + Code::ExtractExtraICStateFromFlags(flags) == kStrictMode
|
| + ? kStrictMode
|
| + : kNonStrictMode));
|
| __ push(rbx); // return address
|
|
|
| // Do tail-call to runtime routine.
|
| - __ TailCallRuntime(Runtime::kSetProperty, 3, 1);
|
| + __ TailCallRuntime(Runtime::kSetProperty, 5, 1);
|
|
|
| return GetCode(flags);
|
| }
|
|
|