Index: src/ic/s390/access-compiler-s390.cc |
diff --git a/src/ic/s390/access-compiler-s390.cc b/src/ic/s390/access-compiler-s390.cc |
index 0a3285d5aace31faf54aaeba3154d510d4d8752e..ed8c089b9cb8cd80549d00d5cf7ea5538d168a46 100644 |
--- a/src/ic/s390/access-compiler-s390.cc |
+++ b/src/ic/s390/access-compiler-s390.cc |
@@ -18,20 +18,21 @@ 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, r5, r2, r6}; |
- return registers; |
-} |
-Register* PropertyAccessCompiler::store_calling_convention() { |
+ // Load calling convention. |
+ // receiver, name, scratch1, scratch2, scratch3. |
+ Register load_registers[] = {receiver, name, r5, r2, r6}; |
+ |
+ // Store calling convention. |
// receiver, name, scratch1, scratch2. |
- Register receiver = StoreDescriptor::ReceiverRegister(); |
- Register name = StoreDescriptor::NameRegister(); |
- static Register registers[] = {receiver, name, r5, r6}; |
- return registers; |
+ Register store_registers[] = {receiver, name, r5, r6}; |
+ |
+ data->Initialize(arraysize(load_registers), load_registers, |
+ arraysize(store_registers), store_registers); |
} |
#undef __ |