| Index: src/x64/virtual-frame-x64.cc
|
| diff --git a/src/x64/virtual-frame-x64.cc b/src/x64/virtual-frame-x64.cc
|
| index ea115f28a2e115868fa0264c190b65375f9f1e5b..57a33ec509fb493b4d64f729041402b3cd843f94 100644
|
| --- a/src/x64/virtual-frame-x64.cc
|
| +++ b/src/x64/virtual-frame-x64.cc
|
| @@ -1124,9 +1124,9 @@ Result VirtualFrame::CallStoreIC(Handle<String> name,
|
| StrictModeFlag strict_mode) {
|
| // Value and (if not contextual) receiver are on top of the frame.
|
| // The IC expects name in rcx, value in rax, and receiver in rdx.
|
| - Handle<Code> ic(Builtins::builtin(strict_mode == kStrictMode
|
| - ? Builtins::StoreIC_Initialize_Strict
|
| - : Builtins::StoreIC_Initialize));
|
| + Handle<Code> ic(Builtins::builtin(
|
| + strict_mode == kStrictMode ? Builtins::StoreIC_Initialize_Strict
|
| + : Builtins::StoreIC_Initialize));
|
| Result value = Pop();
|
| RelocInfo::Mode mode;
|
| if (is_contextual) {
|
| @@ -1146,7 +1146,7 @@ Result VirtualFrame::CallStoreIC(Handle<String> name,
|
| }
|
|
|
|
|
| -Result VirtualFrame::CallKeyedStoreIC() {
|
| +Result VirtualFrame::CallKeyedStoreIC(StrictModeFlag strict_mode) {
|
| // Value, key, and receiver are on the top of the frame. The IC
|
| // expects value in rax, key in rcx, and receiver in rdx.
|
| Result value = Pop();
|
| @@ -1190,7 +1190,9 @@ Result VirtualFrame::CallKeyedStoreIC() {
|
| receiver.Unuse();
|
| }
|
|
|
| - Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize));
|
| + Handle<Code> ic(Builtins::builtin(
|
| + strict_mode == kStrictMode ? Builtins::KeyedStoreIC_Initialize_Strict
|
| + : Builtins::KeyedStoreIC_Initialize));
|
| return RawCallCodeObject(ic, RelocInfo::CODE_TARGET);
|
| }
|
|
|
|
|