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

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

Issue 1901713003: [generators] Perform state dispatch in loop header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698