Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index b2e9297e0bd5937e40036e73e3c519cc83726eb5..3a50e635c858e3ac44a370058c0e0c3ac4a8efe8 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -122,9 +122,6 @@ void TransitionElementsKindStub::InitializeInterfaceDescriptor( |
} |
-const Register InterfaceDescriptor::ContextRegister() { return rsi; } |
- |
- |
static void InitializeArrayConstructorDescriptor( |
CodeStub::Major major, CodeStubInterfaceDescriptor* descriptor, |
int constant_stack_parameter_count) { |
@@ -268,80 +265,6 @@ void StringAddStub::InitializeInterfaceDescriptor( |
} |
-void CallDescriptors::InitializeForIsolate(Isolate* isolate) { |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::ArgumentAdaptorCall); |
- Register registers[] = { rsi, // context |
- rdi, // JSFunction |
- rax, // actual number of arguments |
- rbx, // expected number of arguments |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // JSFunction |
- Representation::Integer32(), // actual number of arguments |
- Representation::Integer32(), // expected number of arguments |
- }; |
- descriptor->Initialize(arraysize(registers), registers, representations); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::KeyedCall); |
- Register registers[] = { rsi, // context |
- rcx, // key |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // key |
- }; |
- descriptor->Initialize(arraysize(registers), registers, representations); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::NamedCall); |
- Register registers[] = { rsi, // context |
- rcx, // name |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // name |
- }; |
- descriptor->Initialize(arraysize(registers), registers, representations); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::CallHandler); |
- Register registers[] = { rsi, // context |
- rdx, // receiver |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // receiver |
- }; |
- descriptor->Initialize(arraysize(registers), registers, representations); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::ApiFunctionCall); |
- Register registers[] = { rsi, // context |
- rax, // callee |
- rbx, // call_data |
- rcx, // holder |
- rdx, // api_function_address |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // callee |
- Representation::Tagged(), // call_data |
- Representation::Tagged(), // holder |
- Representation::External(), // api_function_address |
- }; |
- descriptor->Initialize(arraysize(registers), registers, representations); |
- } |
-} |
- |
- |
#define __ ACCESS_MASM(masm) |