| Index: src/ic/s390/access-compiler-s390.cc
|
| diff --git a/src/ic/ppc/access-compiler-ppc.cc b/src/ic/s390/access-compiler-s390.cc
|
| similarity index 78%
|
| copy from src/ic/ppc/access-compiler-ppc.cc
|
| copy to src/ic/s390/access-compiler-s390.cc
|
| index b1e06e16e14d0583f534dd987729c0031e678cea..316be715c2a105667c39c827737a80f36a8ff24c 100644
|
| --- a/src/ic/ppc/access-compiler-ppc.cc
|
| +++ b/src/ic/s390/access-compiler-s390.cc
|
| @@ -1,8 +1,10 @@
|
| -// Copyright 2014 the V8 project authors. All rights reserved.
|
| +// Copyright 2015 the V8 project authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#if V8_TARGET_ARCH_PPC
|
| +#include "src/v8.h"
|
| +
|
| +#if V8_TARGET_ARCH_S390
|
|
|
| #include "src/ic/access-compiler.h"
|
|
|
| @@ -11,33 +13,29 @@ namespace internal {
|
|
|
| #define __ ACCESS_MASM(masm)
|
|
|
| -
|
| void PropertyAccessCompiler::GenerateTailCall(MacroAssembler* masm,
|
| Handle<Code> code) {
|
| __ Jump(code, RelocInfo::CODE_TARGET);
|
| }
|
|
|
| -
|
| Register* PropertyAccessCompiler::load_calling_convention() {
|
| // receiver, name, scratch1, scratch2, scratch3, scratch4.
|
| Register receiver = LoadDescriptor::ReceiverRegister();
|
| Register name = LoadDescriptor::NameRegister();
|
| - static Register registers[] = {receiver, name, r6, r3, r7, r8};
|
| + static Register registers[] = {receiver, name, r5, r2, r6, r7};
|
| return registers;
|
| }
|
|
|
| -
|
| Register* PropertyAccessCompiler::store_calling_convention() {
|
| // receiver, name, scratch1, scratch2, scratch3.
|
| Register receiver = StoreDescriptor::ReceiverRegister();
|
| Register name = StoreDescriptor::NameRegister();
|
| - static Register registers[] = {receiver, name, r6, r7, r8};
|
| + static Register registers[] = {receiver, name, r5, r6, r7};
|
| return registers;
|
| }
|
|
|
| -
|
| #undef __
|
| } // namespace internal
|
| } // namespace v8
|
|
|
| -#endif // V8_TARGET_ARCH_PPC
|
| +#endif // V8_TARGET_ARCH_S390
|
|
|