Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 3b77246de1e0cb0f5495a3ea038bbe83e058fbd7..99664dca3855c62a0aa7de27baad01c7f027b0a1 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -270,19 +270,14 @@ void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
-void ArrayConstructorDescriptor::InitializePlatformSpecific( |
+void ArrayNArgumentsConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- // stack param count needs (constructor pointer, and single argument) |
+ // register state |
+ // eax -- number of arguments |
+ // edi -- function |
+ // ebx -- allocation site with elements kind |
Register registers[] = {edi, ebx, eax}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
- |
-void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- // stack param count needs (constructor pointer, and single argument) |
- Register registers[] = {edi, eax}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
void VarArgFunctionDescriptor::InitializePlatformSpecific( |