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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/arm/assembler-arm.h" | |
11 #include "src/arm/assembler-arm-inl.h" | |
12 #include "src/frames.h" | 10 #include "src/frames.h" |
13 #include "src/macro-assembler.h" | 11 #include "src/macro-assembler.h" |
| 12 |
| 13 #include "src/arm/assembler-arm-inl.h" |
| 14 #include "src/arm/assembler-arm.h" |
14 #include "src/arm/macro-assembler-arm.h" | 15 #include "src/arm/macro-assembler-arm.h" |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 | 19 |
19 | 20 |
20 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } | 21 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
21 Register JavaScriptFrame::context_register() { return cp; } | 22 Register JavaScriptFrame::context_register() { return cp; } |
22 Register JavaScriptFrame::constant_pool_pointer_register() { | 23 Register JavaScriptFrame::constant_pool_pointer_register() { |
23 ASSERT(FLAG_enable_ool_constant_pool); | 24 ASSERT(FLAG_enable_ool_constant_pool); |
(...skipping 12 matching lines...) Expand all Loading... |
36 Object*& ExitFrame::constant_pool_slot() const { | 37 Object*& ExitFrame::constant_pool_slot() const { |
37 ASSERT(FLAG_enable_ool_constant_pool); | 38 ASSERT(FLAG_enable_ool_constant_pool); |
38 const int offset = ExitFrameConstants::kConstantPoolOffset; | 39 const int offset = ExitFrameConstants::kConstantPoolOffset; |
39 return Memory::Object_at(fp() + offset); | 40 return Memory::Object_at(fp() + offset); |
40 } | 41 } |
41 | 42 |
42 | 43 |
43 } } // namespace v8::internal | 44 } } // namespace v8::internal |
44 | 45 |
45 #endif // V8_TARGET_ARCH_ARM | 46 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |