Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 3c9da2f3d2c607f37f0d3dd079791dac06ef13cb..d7e1fd54e09d668b1be740a76dd82ddefc75d1f5 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -133,9 +133,6 @@ void CompareNilICStub::InitializeInterfaceDescriptor( |
} |
-const Register InterfaceDescriptor::ContextRegister() { return cp; } |
- |
- |
static void InitializeArrayConstructorDescriptor( |
CodeStub::Major major, CodeStubInterfaceDescriptor* descriptor, |
int constant_stack_parameter_count) { |
@@ -270,91 +267,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 |
- r1, // JSFunction |
- r0, // actual number of arguments |
- r2, // 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 |
- r2, // 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 |
- r2, // 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 |
- r0, // 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 |
- r0, // callee |
- r4, // call_data |
- r2, // holder |
- r1, // 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) |