Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index dc4142bdd0789fed06adab0c5c23b3e739c9e1e4..9c7f6acae086b233826c369bdbeb355e0d230d49 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -11,6 +11,14 @@ namespace internal { |
const Register CallInterfaceDescriptor::ContextRegister() { return cp; } |
+void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data, int register_parameter_count) { |
+ const Register default_stub_registers[] = {r3, r4, r5, r6, r7}; |
+ CHECK_LE(static_cast<size_t>(register_parameter_count), |
+ arraysize(default_stub_registers)); |
+ data->InitializePlatformSpecific(register_parameter_count, |
+ default_stub_registers); |
+} |
const Register LoadDescriptor::ReceiverRegister() { return r4; } |
const Register LoadDescriptor::NameRegister() { return r5; } |