Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 03c07f4ce50998ca124f630893c3999786ea8da7..1a88f7d1917f6a4b97f0ffaff40f007cc464e854 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -160,9 +160,6 @@ void CompareNilICStub::InitializeInterfaceDescriptor( |
} |
-const Register InterfaceDescriptor::ContextRegister() { return cp; } |
- |
- |
static void InitializeArrayConstructorDescriptor( |
CodeStub::Major major, CodeStubInterfaceDescriptor* descriptor, |
int constant_stack_parameter_count) { |
@@ -307,91 +304,6 @@ void StringAddStub::InitializeInterfaceDescriptor( |
} |
-void CallDescriptors::InitializeForIsolate(Isolate* isolate) { |
- static PlatformInterfaceDescriptor default_descriptor = |
- PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
- |
- static PlatformInterfaceDescriptor noInlineDescriptor = |
- PlatformInterfaceDescriptor(NEVER_INLINE_TARGET_ADDRESS); |
- |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::ArgumentAdaptorCall); |
- Register registers[] = { cp, // context |
- x1, // JSFunction |
- x0, // actual number of arguments |
- x2, // 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, &default_descriptor); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::KeyedCall); |
- Register registers[] = { cp, // context |
- x2, // key |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // key |
- }; |
- descriptor->Initialize(arraysize(registers), registers, |
- representations, &noInlineDescriptor); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::NamedCall); |
- Register registers[] = { cp, // context |
- x2, // name |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // name |
- }; |
- descriptor->Initialize(arraysize(registers), registers, |
- representations, &noInlineDescriptor); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::CallHandler); |
- Register registers[] = { cp, // context |
- x0, // receiver |
- }; |
- Representation representations[] = { |
- Representation::Tagged(), // context |
- Representation::Tagged(), // receiver |
- }; |
- descriptor->Initialize(arraysize(registers), registers, |
- representations, &default_descriptor); |
- } |
- { |
- CallInterfaceDescriptor* descriptor = |
- isolate->call_descriptor(Isolate::ApiFunctionCall); |
- Register registers[] = { cp, // context |
- x0, // callee |
- x4, // call_data |
- x2, // holder |
- x1, // 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, &default_descriptor); |
- } |
-} |
- |
- |
#define __ ACCESS_MASM(masm) |