Index: src/ic/mips64/access-compiler-mips64.cc |
diff --git a/src/ic/mips64/access-compiler-mips64.cc b/src/ic/mips64/access-compiler-mips64.cc |
index bf6c73e86f86dc039a7f5b90c5eeb6ce07038130..16d7a3d7909bcb63aa5acd6865262fc8919c8b7b 100644 |
--- a/src/ic/mips64/access-compiler-mips64.cc |
+++ b/src/ic/mips64/access-compiler-mips64.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, a3, a0, a4}; |
- return registers; |
-} |
+ // Load calling convention. |
+ // receiver, name, scratch1, scratch2, scratch3. |
+ Register load_registers[] = {receiver, name, a3, a0, a4}; |
-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, a3, a4}; |
- return registers; |
-} |
+ Register store_registers[] = {receiver, name, a3, a4}; |
+ data->Initialize(arraysize(load_registers), load_registers, |
+ arraysize(store_registers), store_registers); |
+} |
#undef __ |
} // namespace internal |