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 #if V8_TARGET_ARCH_ARM | 5 #if V8_TARGET_ARCH_ARM |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/frames.h" | 8 #include "src/frames.h" |
9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
10 | 10 |
11 #include "src/arm/assembler-arm-inl.h" | 11 #include "src/arm/assembler-arm-inl.h" |
12 #include "src/arm/assembler-arm.h" | 12 #include "src/arm/assembler-arm.h" |
13 #include "src/arm/frames-arm.h" | 13 #include "src/arm/frames-arm.h" |
14 #include "src/arm/macro-assembler-arm.h" | 14 #include "src/arm/macro-assembler-arm.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 | 19 |
20 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } | 20 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
21 Register JavaScriptFrame::context_register() { return cp; } | 21 Register JavaScriptFrame::context_register() { return cp; } |
22 Register JavaScriptFrame::constant_pool_pointer_register() { | 22 Register JavaScriptFrame::constant_pool_pointer_register() { |
23 DCHECK(FLAG_enable_embedded_constant_pool); | 23 UNREACHABLE(); |
24 return pp; | 24 return no_reg; |
25 } | 25 } |
26 | 26 |
27 | 27 |
28 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } | 28 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } |
29 Register StubFailureTrampolineFrame::context_register() { return cp; } | 29 Register StubFailureTrampolineFrame::context_register() { return cp; } |
30 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { | 30 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { |
31 DCHECK(FLAG_enable_embedded_constant_pool); | 31 UNREACHABLE(); |
32 return pp; | 32 return no_reg; |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 } // namespace internal | 36 } // namespace internal |
37 } // namespace v8 | 37 } // namespace v8 |
38 | 38 |
39 #endif // V8_TARGET_ARCH_ARM | 39 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |