Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 64263165ac8615b17b373c7cce9f0a586079ef66..dc4142bdd0789fed06adab0c5c23b3e739c9e1e4 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -251,14 +251,14 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
+void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
// r3 -- number of arguments |
// r4 -- function |
// r5 -- allocation site with elements kind |
- Register registers[] = {r4, r5}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+ Register registers[] = {r4, r5, r3}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
@@ -270,16 +270,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
} |
-void InternalArrayConstructorConstantArgCountDescriptor:: |
- InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
- // register state |
- // r3 -- number of arguments |
- // r4 -- constructor function |
- Register registers[] = {r4}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
- |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |