Index: src/mips64/interface-descriptors-mips64.cc |
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc |
index 67bae366992ff516f6fc926157d32eea71cdbb86..1261486483fa0f79970fc368dafcfd8e3c15f853 100644 |
--- a/src/mips64/interface-descriptors-mips64.cc |
+++ b/src/mips64/interface-descriptors-mips64.cc |
@@ -254,17 +254,16 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
-void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
+void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
// a0 -- number of arguments |
// a1 -- function |
// a2 -- allocation site with elements kind |
- Register registers[] = {a1, a2}; |
+ Register registers[] = {a1, a2, a0}; |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
- |
void ArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |
@@ -273,16 +272,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
} |
-void InternalArrayConstructorConstantArgCountDescriptor:: |
- InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
- // register state |
- // a0 -- number of arguments |
- // a1 -- constructor function |
- Register registers[] = {a1}; |
- data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
-} |
- |
- |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |