Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index ea56441453bf859e8207ab1215c6291ef2d5f8b3..c2b94ffe7a5ce19672f241bb96a9772b6bb38042 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -211,6 +211,17 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
} |
+void ConstructStubDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r3 : number of arguments |
+ // r4 : the target to call |
+ // r6 : the new target |
+ // r5 : allocation site or undefined |
+ Register registers[] = {r4, r6, r3, r5}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r3 : number of arguments |