Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: src/interpreter/bytecode-generator.h

Issue 1927943003: Assign yield ids in ast-numbering rather than in bytecode-generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: nit Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 BytecodeArrayBuilder* builder_; 203 BytecodeArrayBuilder* builder_;
204 CompilationInfo* info_; 204 CompilationInfo* info_;
205 Scope* scope_; 205 Scope* scope_;
206 ZoneVector<Handle<Object>> globals_; 206 ZoneVector<Handle<Object>> globals_;
207 ControlScope* execution_control_; 207 ControlScope* execution_control_;
208 ContextScope* execution_context_; 208 ContextScope* execution_context_;
209 ExpressionResultScope* execution_result_; 209 ExpressionResultScope* execution_result_;
210 RegisterAllocationScope* register_allocator_; 210 RegisterAllocationScope* register_allocator_;
211 ZoneVector<BytecodeLabel> generator_resume_points_; 211 ZoneVector<BytecodeLabel> generator_resume_points_;
212 Register generator_state_; 212 Register generator_state_;
213 size_t generator_yields_seen_;
214 int try_catch_nesting_level_; 213 int try_catch_nesting_level_;
215 int try_finally_nesting_level_; 214 int try_finally_nesting_level_;
216 }; 215 };
217 216
218 } // namespace interpreter 217 } // namespace interpreter
219 } // namespace internal 218 } // namespace internal
220 } // namespace v8 219 } // namespace v8
221 220
222 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 221 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698