Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: src/ic/s390/access-compiler-s390.cc

Issue 1743263003: S390: Initial impl of debug and ic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix s390 files under correct target in BUILD.gn Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/s390/debug-s390.cc ('k') | src/ic/s390/handler-compiler-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/debug/s390/debug-s390.cc ('k') | src/ic/s390/handler-compiler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698