Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 335ea51379908628984489f42047331de06eb27f..e429223f9027dbb19f4c0433d02bd525e765d0cb 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -406,6 +406,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[] = { |