| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 2c39a0c80776e04ca4d7b8e273a7daa624723b5d..f950368404804ada7d78da991bc0b6ca2464a288 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -37,20 +37,14 @@ namespace v8 {
|
| namespace internal {
|
|
|
|
|
| -CodeStubInterfaceDescriptor*
|
| - KeyedLoadFastElementStub::GetInterfaceDescriptor(Isolate* isolate) {
|
| - static CodeStubInterfaceDescriptor* result = NULL;
|
| - if (result == NULL) {
|
| - Handle<Code> miss = isolate->builtins()->KeyedLoadIC_Miss();
|
| - static Register registers[] = { rdx, rax };
|
| - static CodeStubInterfaceDescriptor info = {
|
| - 2,
|
| - registers,
|
| - miss
|
| - };
|
| - result = &info;
|
| - }
|
| - return result;
|
| +void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
|
| + Isolate* isolate,
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + static Register registers[] = { rdx, rax };
|
| + descriptor->register_param_count_ = 2;
|
| + descriptor->register_params_ = registers;
|
| + descriptor->deoptimization_handler_ =
|
| + isolate->builtins()->KeyedLoadIC_Miss();
|
| }
|
|
|
|
|
|
|