Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 5324ef5b800c2933c9b3fd8955c1639d29675588..03da4b088492eb48be592c17d44cc9fe1b2d6e01 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -20,6 +20,11 @@ void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
default_stub_registers); |
} |
+const Register FastNewFunctionContextDescriptor::FunctionRegister() { |
+ return r4; |
+} |
+const Register FastNewFunctionContextDescriptor::SlotsRegister() { return r3; } |
+ |
const Register LoadDescriptor::ReceiverRegister() { return r4; } |
const Register LoadDescriptor::NameRegister() { return r5; } |
const Register LoadDescriptor::SlotRegister() { return r3; } |
@@ -70,12 +75,6 @@ void FastNewClosureDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = {r4}; |
- data->InitializePlatformSpecific(arraysize(registers), registers); |
-} |
- |
void FastNewObjectDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {r4, r6}; |