Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 8208262cad28c29f900c0d0f16f544cf3e23c111..39160749417ae5db6090d666177fbdc067d896be 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -401,6 +401,18 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
} |
+void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ eax, // argument count (not including receiver) |
+ edx, // original constructor |
+ edi, // constructor |
+ ebx, // address of first argument |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |