Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 82a2cb3acfcae4abd62e8ba1e82f03435053df6e..f804496861fc0ceeea9f986825b8512d0ce1993b 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -155,6 +155,16 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void CallVarargsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r3 : number of arguments (on the stack, not including receiver) |
+ // r4 : the target to call |
+ // r5 : arguments list (FixedArray) |
+ // r7 : arguments list length (untagged) |
+ Register registers[] = {r4, r3, r5, r7}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void CallForwardVarargsDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r3 : number of arguments |
@@ -164,6 +174,25 @@ void CallForwardVarargsDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void CallWithArrayLikeDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r4 : the target to call |
+ // r5 : the arguments list |
+ Register registers[] = {r4, r5}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+void ConstructVarargsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r3 : number of arguments (on the stack, not including receiver) |
+ // r4 : the target to call |
+ // r6 : the new target |
+ // r5 : arguments list (FixedArray) |
+ // r7 : arguments list length (untagged) |
+ Register registers[] = {r4, r6, r3, r5, r7}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void ConstructForwardVarargsDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r3 : number of arguments |
@@ -174,6 +203,15 @@ void ConstructForwardVarargsDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void ConstructWithArrayLikeDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r4 : the target to call |
+ // r6 : the new target |
+ // r5 : the arguments list |
+ Register registers[] = {r4, r6, r5}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void ConstructStubDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r3 : number of arguments |