Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index e1e7f9cb4669ed573e6be226cfad7c9c8df2af58..0ce65223f2b5ece6c819e4ff7748471698dba55b 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -250,17 +250,16 @@ void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
-void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
+void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |
// rax -- number of arguments |
// rdi -- function |
// rbx -- allocation site with elements kind |
- Register registers[] = {rdi, rbx}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
+ Register registers[] = {rdi, rbx, rax}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
- |
void ArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |
@@ -269,16 +268,6 @@ void ArrayConstructorDescriptor::InitializePlatformSpecific( |
} |
-void InternalArrayConstructorConstantArgCountDescriptor:: |
- InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
- // register state |
- // rax -- number of arguments |
- // rdi -- constructor function |
- Register registers[] = {rdi}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
- |
void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// stack param count needs (constructor pointer, and single argument) |