Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index bcdc071b07297edd979e42eba9cd835b4a2b4439..14c8e58ee1b66f10f340c79d0d05be301b5affce 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -397,6 +397,17 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void InterpreterPushArgsAndConstructArrayDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ rax, // argument count (not including receiver) |
+ rdx, // target to the call. It is checked to be Array function. |
+ rbx, // allocation site feedback |
+ rcx, // address of first argument |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |