Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 6ba5e97169996d4b78902d0ad5cdef13d2f359ec..0518aaf3a42e514cdc0f15d999fe2b77243920a2 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -404,6 +404,17 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void InterpreterPushArgsAndConstructArrayDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ eax, // argument count (not including receiver) |
+ edx, // target to the call. It is checked to be Array function. |
+ ebx, // allocation site feedback |
+ ecx, // address of first argument |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |