Index: src/s390/interface-descriptors-s390.cc |
diff --git a/src/s390/interface-descriptors-s390.cc b/src/s390/interface-descriptors-s390.cc |
index aae19494dfec89875f5a12822521946f95b8aa52..3ab31a0ab78b549014f27ee31338f4af86768cc2 100644 |
--- a/src/s390/interface-descriptors-s390.cc |
+++ b/src/s390/interface-descriptors-s390.cc |
@@ -222,15 +222,14 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
- |
-void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
+void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
// r2 -- number of arguments |
// r3 -- function |
// r4 -- allocation site with elements kind |
- Register registers[] = {r3, r4}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+ Register registers[] = {r3, r4, r2}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
void ArrayConstructorDescriptor::InitializePlatformSpecific( |
@@ -240,15 +239,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void InternalArrayConstructorConstantArgCountDescriptor:: |
- InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
- // register state |
- // r2 -- number of arguments |
- // r3 -- constructor function |
- Register registers[] = {r3}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |