| Index: src/mips/interface-descriptors-mips.cc
|
| diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc
|
| index 30a7a747d8c7a6cc4a19a78fe3beb169f9f37ee9..847532a521c03db8f33f33c1b2fd3dd7a7182514 100644
|
| --- a/src/mips/interface-descriptors-mips.cc
|
| +++ b/src/mips/interface-descriptors-mips.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)
|
|
|