Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 665964f89671245dc23e007dfe30cb70b6eb3b85..67f65f5cb39b9f97afb18426a8cc203b35061e3b 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -64,91 +64,91 @@ const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r2}; |
+ Register registers[] = {r2}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void FastNewContextDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1}; |
+ Register registers[] = {r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void ToNumberDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r0}; |
+ Register registers[] = {r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void NumberToStringDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r0}; |
+ Register registers[] = {r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void TypeofDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r3}; |
+ Register registers[] = {r3}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r3, r2, r1}; |
+ Register registers[] = {r3, r2, r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r3, r2, r1, r0}; |
+ Register registers[] = {r3, r2, r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CreateAllocationSiteDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r2, r3}; |
+ Register registers[] = {r2, r3}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CreateWeakCellDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r2, r3, r1}; |
+ Register registers[] = {r2, r3, r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r3, r0}; |
+ Register registers[] = {r3, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CallFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1}; |
+ Register registers[] = {r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1, r3}; |
+ Register registers[] = {r1, r3}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1, r3, r2}; |
+ Register registers[] = {r1, r3, r2}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -162,42 +162,38 @@ void CallConstructDescriptor::InitializePlatformSpecific( |
// vector (Smi) |
// TODO(turbofan): So far we don't gather type feedback and hence skip the |
// slot parameter, but ArrayConstructStub needs the vector to be undefined. |
- Register registers[] = {cp, r0, r1, r2}; |
+ Register registers[] = {r0, r1, r2}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r2, r1, r0}; |
+ Register registers[] = {r2, r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r0, r1}; |
+ Register registers[] = {r0, r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- // register state |
- // cp -- context |
- Register registers[] = {cp}; |
- data->InitializePlatformSpecific(arraysize(registers), registers, nullptr); |
+ data->InitializePlatformSpecific(0, nullptr, nullptr); |
} |
void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
- // cp -- context |
// r0 -- number of arguments |
// r1 -- function |
// r2 -- allocation site with elements kind |
- Register registers[] = {cp, r1, r2}; |
+ Register registers[] = {r1, r2}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -205,7 +201,7 @@ void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
void ArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |
- Register registers[] = {cp, r1, r2, r0}; |
+ Register registers[] = {r1, r2, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -213,10 +209,9 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
void InternalArrayConstructorConstantArgCountDescriptor:: |
InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
// register state |
- // cp -- context |
// r0 -- number of arguments |
// r1 -- constructor function |
- Register registers[] = {cp, r1}; |
+ Register registers[] = {r1}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -224,49 +219,49 @@ void InternalArrayConstructorConstantArgCountDescriptor:: |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |
- Register registers[] = {cp, r1, r0}; |
+ Register registers[] = {r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CompareDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1, r0}; |
+ Register registers[] = {r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void CompareNilDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r0}; |
+ Register registers[] = {r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void ToBooleanDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r0}; |
+ Register registers[] = {r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void BinaryOpDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1, r0}; |
+ Register registers[] = {r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r2, r1, r0}; |
+ Register registers[] = {r2, r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void StringAddDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {cp, r1, r0}; |
+ Register registers[] = {r1, r0}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
@@ -277,7 +272,6 @@ void KeyedDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(NEVER_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r2, // key |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers, |
@@ -291,7 +285,6 @@ void NamedDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(NEVER_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r2, // name |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers, |
@@ -305,7 +298,6 @@ void CallHandlerDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r0, // receiver |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers, |
@@ -319,7 +311,6 @@ void ArgumentAdaptorDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r1, // JSFunction |
r0, // actual number of arguments |
r2, // expected number of arguments |
@@ -335,7 +326,6 @@ void ApiFunctionDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r0, // callee |
r4, // call_data |
r2, // holder |
@@ -353,7 +343,6 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
Register registers[] = { |
- cp, // context |
r0, // callee |
r4, // call_data |
r2, // holder |
@@ -367,7 +356,6 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( |
void MathRoundVariantDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
- cp, // context |
r1, // math rounding function |
r3, // vector slot id |
}; |