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_BYTECODE_GENERATOR_H_ | 5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
7 | 7 |
8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
9 #include "src/interpreter/bytecode-array-builder.h" | 9 #include "src/interpreter/bytecode-array-builder.h" |
10 #include "src/interpreter/bytecode-label.h" | 10 #include "src/interpreter/bytecode-label.h" |
| 11 #include "src/interpreter/bytecode-register.h" |
11 #include "src/interpreter/bytecodes.h" | 12 #include "src/interpreter/bytecodes.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 | 16 |
16 class CompilationInfo; | 17 class CompilationInfo; |
17 | 18 |
18 namespace interpreter { | 19 namespace interpreter { |
19 | 20 |
20 class LoopBuilder; | 21 class LoopBuilder; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 RegisterAllocationScope* register_allocator_; | 212 RegisterAllocationScope* register_allocator_; |
212 ZoneVector<BytecodeLabel> generator_resume_points_; | 213 ZoneVector<BytecodeLabel> generator_resume_points_; |
213 Register generator_state_; | 214 Register generator_state_; |
214 }; | 215 }; |
215 | 216 |
216 } // namespace interpreter | 217 } // namespace interpreter |
217 } // namespace internal | 218 } // namespace internal |
218 } // namespace v8 | 219 } // namespace v8 |
219 | 220 |
220 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 221 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
OLD | NEW |