OLD | NEW |
---|---|
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INTERPRETER_INTERPRETER_H_ | 5 #ifndef V8_INTERPRETER_INTERPRETER_H_ |
6 #define V8_INTERPRETER_INTERPRETER_H_ | 6 #define V8_INTERPRETER_INTERPRETER_H_ |
7 | 7 |
8 // Clients of this interface shouldn't depend on lots of interpreter internals. | 8 // Clients of this interface shouldn't depend on lots of interpreter internals. |
9 // Do not include anything from src/interpreter other than | 9 // Do not include anything from src/interpreter other than |
10 // src/interpreter/bytecodes.h here! | 10 // src/interpreter/bytecodes.h here! |
11 #include "src/base/macros.h" | 11 #include "src/base/macros.h" |
12 #include "src/builtins.h" | 12 #include "src/builtins.h" |
13 #include "src/interpreter/bytecodes.h" | 13 #include "src/interpreter/bytecodes.h" |
14 #include "src/parsing/token.h" | 14 #include "src/parsing/token.h" |
15 #include "src/runtime/runtime.h" | 15 #include "src/runtime/runtime.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 class Isolate; | 20 class Isolate; |
21 class Callable; | 21 class Callable; |
22 class CompilationInfo; | 22 class CompilationInfo; |
23 class Logger; | |
rmcilroy
2016/03/08 16:21:57
unnecessary
Stefano Sanfilippo
2016/03/08 17:22:29
Done.
| |
23 | 24 |
24 namespace interpreter { | 25 namespace interpreter { |
25 | 26 |
26 class InterpreterAssembler; | 27 class InterpreterAssembler; |
27 | 28 |
28 class Interpreter { | 29 class Interpreter { |
29 public: | 30 public: |
30 explicit Interpreter(Isolate* isolate); | 31 explicit Interpreter(Isolate* isolate); |
31 virtual ~Interpreter() {} | 32 virtual ~Interpreter() {} |
32 | 33 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 Code* dispatch_table_[kDispatchTableSize]; | 137 Code* dispatch_table_[kDispatchTableSize]; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 139 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace interpreter | 142 } // namespace interpreter |
142 } // namespace internal | 143 } // namespace internal |
143 } // namespace v8 | 144 } // namespace v8 |
144 | 145 |
145 #endif // V8_INTERPRETER_INTERPRETER_H_ | 146 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |