| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 0c0c2725cbf3e559c11c5a709985559ae3c4d528..11dd02ef6e57f9a1e2543c80d252d86ef1315b75 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -258,6 +258,26 @@ void StoreGlobalStub::InitializeInterfaceDescriptor(
|
| }
|
|
|
|
|
| +void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
|
| + Isolate* isolate,
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + static Register registers[] = { rax, rbx, rcx, rdx };
|
| + descriptor->register_param_count_ = 4;
|
| + descriptor->register_params_ = registers;
|
| + switch (strict_mode_) {
|
| + case kNonStrictMode:
|
| + descriptor->deoptimization_handler_ = Runtime::FunctionForId(
|
| + Runtime::kElementsTransitionAndStoreNonStrict)->entry;
|
| + break;
|
| +
|
| + case kStrictMode:
|
| + descriptor->deoptimization_handler_ = Runtime::FunctionForId(
|
| + Runtime::kElementsTransitionAndStoreStrict)->entry;
|
| + break;
|
| + }
|
| +}
|
| +
|
| +
|
| #define __ ACCESS_MASM(masm)
|
|
|
|
|
|
|