Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 804536544455ab336ed14ad09b12b2af0c7b9e18..a06afa44e37d7fc0c3243b15c30f27f52e4175ae 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -380,13 +380,27 @@ |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void ApiCallbackDescriptorBase::InitializePlatformSpecific( |
+ |
+void ApiFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
r3, // callee |
r7, // call_data |
r5, // holder |
r4, // api_function_address |
+ r6, // actual number of arguments |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ r3, // callee |
+ r7, // call_data |
+ r5, // holder |
+ r4, // api_function_address |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |