Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 260d8716a0f0ad16a5167a9378a2a539d8c1e4c9..f735f375d1856859480a70da80dfedea9a582588 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -257,17 +257,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) |
@@ -276,16 +275,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) |