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

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

Issue 2176183002: [interpreter] Implement static loop depth tracking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_osr-2
Patch Set: Created 4 years, 5 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/bytecode-label.h" 10 #include "src/interpreter/bytecode-label.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 BytecodeArrayBuilder* builder_; 205 BytecodeArrayBuilder* builder_;
206 CompilationInfo* info_; 206 CompilationInfo* info_;
207 Scope* scope_; 207 Scope* scope_;
208 ZoneVector<Handle<Object>> globals_; 208 ZoneVector<Handle<Object>> globals_;
209 ControlScope* execution_control_; 209 ControlScope* execution_control_;
210 ContextScope* execution_context_; 210 ContextScope* execution_context_;
211 ExpressionResultScope* execution_result_; 211 ExpressionResultScope* execution_result_;
212 RegisterAllocationScope* register_allocator_; 212 RegisterAllocationScope* register_allocator_;
213 ZoneVector<BytecodeLabel> generator_resume_points_; 213 ZoneVector<BytecodeLabel> generator_resume_points_;
214 Register generator_state_; 214 Register generator_state_;
215 int loop_depth_;
215 }; 216 };
216 217
217 } // namespace interpreter 218 } // namespace interpreter
218 } // namespace internal 219 } // namespace internal
219 } // namespace v8 220 } // namespace v8
220 221
221 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 222 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/bytecode-generator.cc » ('j') | src/interpreter/bytecode-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698