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/bytecodes.h" | 10 #include "src/interpreter/bytecodes.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 Isolate* isolate_; | 199 Isolate* isolate_; |
200 Zone* zone_; | 200 Zone* zone_; |
201 BytecodeArrayBuilder* builder_; | 201 BytecodeArrayBuilder* builder_; |
202 CompilationInfo* info_; | 202 CompilationInfo* info_; |
203 Scope* scope_; | 203 Scope* scope_; |
204 ZoneVector<Handle<Object>> globals_; | 204 ZoneVector<Handle<Object>> globals_; |
205 ControlScope* execution_control_; | 205 ControlScope* execution_control_; |
206 ContextScope* execution_context_; | 206 ContextScope* execution_context_; |
207 ExpressionResultScope* execution_result_; | 207 ExpressionResultScope* execution_result_; |
208 RegisterAllocationScope* register_allocator_; | 208 RegisterAllocationScope* register_allocator_; |
209 ZoneVector<BytecodeLabel> generator_resume_points_; | |
210 int try_catch_nesting_level_; | 209 int try_catch_nesting_level_; |
211 int try_finally_nesting_level_; | 210 int try_finally_nesting_level_; |
212 int generator_yields_seen_; | |
213 }; | 211 }; |
214 | 212 |
215 } // namespace interpreter | 213 } // namespace interpreter |
216 } // namespace internal | 214 } // namespace internal |
217 } // namespace v8 | 215 } // namespace v8 |
218 | 216 |
219 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 217 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
OLD | NEW |