Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index 088b01e6968d8df2e35388b044e6713855940bb3..7761ab29dc756edc8e4f6cd8e9034e0a713fac7b 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -242,6 +242,16 @@ void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
SIMD128_TYPES(SIMD128_ALLOC_DESC) |
#undef SIMD128_ALLOC_DESC |
+void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // register state |
+ // rax -- number of arguments |
+ // rdi -- function |
+ // rbx -- allocation site with elements kind |
+ Register registers[] = {rdi, rbx, rax}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
+} |
+ |
void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// register state |