Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 4286f8bf6d2a2becb89bacdb043c65aae5c63ebd..9e1d8861dcacc6b39d07e9898c1a15edf0bcba7f 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -394,6 +394,18 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
} |
+void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ r3, // argument count (not including receiver) |
+ r6, // original constructor |
+ r4, // constructor to call |
+ r5 // address of the first argument |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |