OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 |
5 #include "src/v8.h" | 6 #include "src/v8.h" |
6 | 7 |
7 #if V8_TARGET_ARCH_MIPS | 8 #if V8_TARGET_ARCH_MIPS64 |
8 | 9 |
9 #include "src/assembler.h" | 10 #include "src/assembler.h" |
10 #include "src/frames.h" | 11 #include "src/frames.h" |
11 #include "src/mips/assembler-mips-inl.h" | 12 #include "src/mips64/assembler-mips64-inl.h" |
12 #include "src/mips/assembler-mips.h" | 13 #include "src/mips64/assembler-mips64.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 | 17 |
17 | 18 |
18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } | 19 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
19 Register JavaScriptFrame::context_register() { return cp; } | 20 Register JavaScriptFrame::context_register() { return cp; } |
20 Register JavaScriptFrame::constant_pool_pointer_register() { | 21 Register JavaScriptFrame::constant_pool_pointer_register() { |
21 UNREACHABLE(); | 22 UNREACHABLE(); |
22 return no_reg; | 23 return no_reg; |
23 } | 24 } |
24 | 25 |
25 | 26 |
26 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } | 27 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } |
27 Register StubFailureTrampolineFrame::context_register() { return cp; } | 28 Register StubFailureTrampolineFrame::context_register() { return cp; } |
28 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { | 29 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { |
29 UNREACHABLE(); | 30 UNREACHABLE(); |
30 return no_reg; | 31 return no_reg; |
31 } | 32 } |
32 | 33 |
33 | 34 |
34 Object*& ExitFrame::constant_pool_slot() const { | 35 Object*& ExitFrame::constant_pool_slot() const { |
35 UNREACHABLE(); | 36 UNREACHABLE(); |
36 return Memory::Object_at(NULL); | 37 return Memory::Object_at(NULL); |
37 } | 38 } |
38 | 39 |
39 | 40 |
40 } } // namespace v8::internal | 41 } } // namespace v8::internal |
41 | 42 |
42 #endif // V8_TARGET_ARCH_MIPS | 43 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |