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