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

Unified Diff: src/s390/frames-s390.cc

Issue 1725243004: S390: Initial impl of S390 asm, masm, code-stubs,... (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated BUILD.gn + cpu-s390.cc to addr @jochen's comments. 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
Index: src/s390/frames-s390.cc
diff --git a/src/mips64/frames-mips64.cc b/src/s390/frames-s390.cc
similarity index 70%
copy from src/mips64/frames-mips64.cc
copy to src/s390/frames-s390.cc
index f8ac6bf1949b89e9da9813fc68b208793b27ab50..20506ec13c89af1eac1217934d61ad8078e7a881 100644
--- a/src/mips64/frames-mips64.cc
+++ b/src/s390/frames-s390.cc
@@ -1,19 +1,20 @@
-// Copyright 2011 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_MIPS64
+#if V8_TARGET_ARCH_S390
-#include "src/assembler.h"
#include "src/frames.h"
-#include "src/mips64/assembler-mips64-inl.h"
-#include "src/mips64/assembler-mips64.h"
-#include "src/mips64/frames-mips64.h"
+#include "src/assembler.h"
+#include "src/macro-assembler.h"
+#include "src/s390/assembler-s390-inl.h"
+#include "src/s390/assembler-s390.h"
+#include "src/s390/frames-s390.h"
+#include "src/s390/macro-assembler-s390.h"
namespace v8 {
namespace internal {
-
Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
Register JavaScriptFrame::context_register() { return cp; }
Register JavaScriptFrame::constant_pool_pointer_register() {
@@ -21,7 +22,6 @@ Register JavaScriptFrame::constant_pool_pointer_register() {
return no_reg;
}
-
Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
Register StubFailureTrampolineFrame::context_register() { return cp; }
Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
@@ -29,8 +29,7 @@ Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
return no_reg;
}
-
} // namespace internal
} // namespace v8
-#endif // V8_TARGET_ARCH_MIPS64
+#endif // V8_TARGET_ARCH_S390

Powered by Google App Engine
This is Rietveld 408576698