OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_S390 |
6 | 6 |
| 7 #include "src/frames.h" |
7 #include "src/assembler.h" | 8 #include "src/assembler.h" |
8 #include "src/frames.h" | 9 #include "src/macro-assembler.h" |
9 #include "src/mips64/assembler-mips64-inl.h" | 10 #include "src/s390/assembler-s390-inl.h" |
10 #include "src/mips64/assembler-mips64.h" | 11 #include "src/s390/assembler-s390.h" |
11 #include "src/mips64/frames-mips64.h" | 12 #include "src/s390/frames-s390.h" |
| 13 #include "src/s390/macro-assembler-s390.h" |
12 | 14 |
13 namespace v8 { | 15 namespace v8 { |
14 namespace internal { | 16 namespace internal { |
15 | 17 |
16 | |
17 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } | 18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
18 Register JavaScriptFrame::context_register() { return cp; } | 19 Register JavaScriptFrame::context_register() { return cp; } |
19 Register JavaScriptFrame::constant_pool_pointer_register() { | 20 Register JavaScriptFrame::constant_pool_pointer_register() { |
20 UNREACHABLE(); | 21 UNREACHABLE(); |
21 return no_reg; | 22 return no_reg; |
22 } | 23 } |
23 | 24 |
24 | |
25 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } | 25 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } |
26 Register StubFailureTrampolineFrame::context_register() { return cp; } | 26 Register StubFailureTrampolineFrame::context_register() { return cp; } |
27 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { | 27 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { |
28 UNREACHABLE(); | 28 UNREACHABLE(); |
29 return no_reg; | 29 return no_reg; |
30 } | 30 } |
31 | 31 |
32 | |
33 } // namespace internal | 32 } // namespace internal |
34 } // namespace v8 | 33 } // namespace v8 |
35 | 34 |
36 #endif // V8_TARGET_ARCH_MIPS64 | 35 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |