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 #ifndef V8_GDB_JIT_H_ | 5 #ifndef V8_GDB_JIT_H_ |
6 #define V8_GDB_JIT_H_ | 6 #define V8_GDB_JIT_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 | 9 |
10 // | 10 // |
11 // Basic implementation of GDB JIT Interface client. | 11 // Basic implementation of GDB JIT Interface client. |
12 // GBD JIT Interface is supported in GDB 7.0 and above. | 12 // GBD JIT Interface is supported in GDB 7.0 and above. |
13 // Currently on x64 and ia32 architectures and Linux OS are supported. | 13 // Currently on x64 and ia32 architectures and Linux OS are supported. |
14 // | 14 // |
15 | 15 |
16 #ifdef ENABLE_GDB_JIT_INTERFACE | 16 #ifdef ENABLE_GDB_JIT_INTERFACE |
17 #include "src/v8.h" | 17 #include "src/v8.h" |
| 18 |
18 #include "src/factory.h" | 19 #include "src/factory.h" |
19 | 20 |
20 namespace v8 { | 21 namespace v8 { |
21 namespace internal { | 22 namespace internal { |
22 | 23 |
23 class CompilationInfo; | 24 class CompilationInfo; |
24 | 25 |
25 #define CODE_TAGS_LIST(V) \ | 26 #define CODE_TAGS_LIST(V) \ |
26 V(LOAD_IC) \ | 27 V(LOAD_IC) \ |
27 V(KEYED_LOAD_IC) \ | 28 V(KEYED_LOAD_IC) \ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 }; | 109 }; |
109 | 110 |
110 #define GDBJIT(action) GDBJITInterface::action | 111 #define GDBJIT(action) GDBJITInterface::action |
111 | 112 |
112 } } // namespace v8::internal | 113 } } // namespace v8::internal |
113 #else | 114 #else |
114 #define GDBJIT(action) ((void) 0) | 115 #define GDBJIT(action) ((void) 0) |
115 #endif | 116 #endif |
116 | 117 |
117 #endif | 118 #endif |
OLD | NEW |