| Index: src/ia32/interface-descriptors-ia32.cc
|
| diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc
|
| index 8a877b1a820ec6027acbf87617591c583a34e78b..b79c7a659fc50bb9bb3ec904e4c0b6e32fcd5cc5 100644
|
| --- a/src/ia32/interface-descriptors-ia32.cc
|
| +++ b/src/ia32/interface-descriptors-ia32.cc
|
| @@ -259,17 +259,16 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
|
| data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
|
| }
|
|
|
| -void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
|
| +void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // register state
|
| // eax -- number of arguments
|
| // edi -- function
|
| // ebx -- allocation site with elements kind
|
| - Register registers[] = {edi, ebx};
|
| + Register registers[] = {edi, ebx, eax};
|
| data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
|
| }
|
|
|
| -
|
| void ArrayConstructorDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // stack param count needs (constructor pointer, and single argument)
|
| @@ -278,16 +277,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific(
|
| }
|
|
|
|
|
| -void InternalArrayConstructorConstantArgCountDescriptor::
|
| - InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
|
| - // register state
|
| - // eax -- number of arguments
|
| - // edi -- function
|
| - Register registers[] = {edi};
|
| - data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
|
| -}
|
| -
|
| -
|
| void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // stack param count needs (constructor pointer, and single argument)
|
|
|