Index: src/ic/ppc/access-compiler-ppc.cc |
diff --git a/src/ic/ppc/access-compiler-ppc.cc b/src/ic/ppc/access-compiler-ppc.cc |
index 6143b4ce474561a08000b01754539b02b82d2e8a..f78ef57e74f13f8d252ebb93c2b984179039c127 100644 |
--- a/src/ic/ppc/access-compiler-ppc.cc |
+++ b/src/ic/ppc/access-compiler-ppc.cc |
@@ -17,24 +17,22 @@ void PropertyAccessCompiler::GenerateTailCall(MacroAssembler* masm, |
__ Jump(code, RelocInfo::CODE_TARGET); |
} |
- |
-Register* PropertyAccessCompiler::load_calling_convention() { |
- // receiver, name, scratch1, scratch2, scratch3. |
+void PropertyAccessCompiler::InitializePlatformSpecific( |
+ AccessCompilerData* data) { |
Register receiver = LoadDescriptor::ReceiverRegister(); |
Register name = LoadDescriptor::NameRegister(); |
- static Register registers[] = {receiver, name, r6, r3, r7}; |
- return registers; |
-} |
+ // Load calling convention. |
+ // receiver, name, scratch1, scratch2, scratch3. |
+ Register load_registers[] = {receiver, name, r6, r3, r7}; |
-Register* PropertyAccessCompiler::store_calling_convention() { |
+ // Store calling convention. |
// receiver, name, scratch1, scratch2. |
- Register receiver = StoreDescriptor::ReceiverRegister(); |
- Register name = StoreDescriptor::NameRegister(); |
- static Register registers[] = {receiver, name, r6, r7}; |
- return registers; |
-} |
+ Register store_registers[] = {receiver, name, r6, r7}; |
+ data->Initialize(arraysize(load_registers), load_registers, |
+ arraysize(store_registers), store_registers); |
+} |
#undef __ |
} // namespace internal |