OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/frames.h" |
| 11 #include "src/x64/assembler-x64-inl.h" |
10 #include "src/x64/assembler-x64.h" | 12 #include "src/x64/assembler-x64.h" |
11 #include "src/x64/assembler-x64-inl.h" | |
12 #include "src/frames.h" | |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 Register JavaScriptFrame::fp_register() { return rbp; } | 18 Register JavaScriptFrame::fp_register() { return rbp; } |
19 Register JavaScriptFrame::context_register() { return rsi; } | 19 Register JavaScriptFrame::context_register() { return rsi; } |
20 Register JavaScriptFrame::constant_pool_pointer_register() { | 20 Register JavaScriptFrame::constant_pool_pointer_register() { |
21 UNREACHABLE(); | 21 UNREACHABLE(); |
22 return no_reg; | 22 return no_reg; |
(...skipping 10 matching lines...) Expand all Loading... |
33 | 33 |
34 Object*& ExitFrame::constant_pool_slot() const { | 34 Object*& ExitFrame::constant_pool_slot() const { |
35 UNREACHABLE(); | 35 UNREACHABLE(); |
36 return Memory::Object_at(NULL); | 36 return Memory::Object_at(NULL); |
37 } | 37 } |
38 | 38 |
39 | 39 |
40 } } // namespace v8::internal | 40 } } // namespace v8::internal |
41 | 41 |
42 #endif // V8_TARGET_ARCH_X64 | 42 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |