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/runtime/runtime.h" | 15 #include "src/runtime/runtime.h" |
15 #include "src/token.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 | 23 |
24 namespace compiler { | 24 namespace compiler { |
25 class InterpreterAssembler; | 25 class InterpreterAssembler; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 Isolate* isolate_; | 100 Isolate* isolate_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 102 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace interpreter | 105 } // namespace interpreter |
106 } // namespace internal | 106 } // namespace internal |
107 } // namespace v8 | 107 } // namespace v8 |
108 | 108 |
109 #endif // V8_INTERPRETER_INTERPRETER_H_ | 109 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |