Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index 326d391af4eb7a0aa112ab5f38a8b3fca470c133..024f72c31c42c063572d0dadce2510c1ef1ad4e7 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -395,6 +395,18 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
} |
+void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ a0, // argument count (not including receiver) |
+ a3, // original constructor |
+ a1, // constructor to call |
+ a2 // address of the first argument |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |