Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 4e8c95cd6dc44dabb5a4ba591418740c43780af2..0d0aa893af43b12b43b5dc2261a5d2f5411a403c 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -255,17 +255,16 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
-void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
+void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
// r0 -- number of arguments |
// r1 -- function |
// r2 -- allocation site with elements kind |
- Register registers[] = {r1, r2}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+ Register registers[] = {r1, r2, r0}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
- |
void ArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |
@@ -274,16 +273,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
} |
-void InternalArrayConstructorConstantArgCountDescriptor:: |
- InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
- // register state |
- // r0 -- number of arguments |
- // r1 -- constructor function |
- Register registers[] = {r1}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
- |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |