Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 2fdb03b259a6f578c9fa579155ec02c204166f96..89260035f57a0a693a897d46e91593a646343a28 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -275,19 +275,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( |