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

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

Issue 1970193002: [compiler] Avoid passing CompilationInfo to profiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-sidechannel-2
Patch Set: 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
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"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14
15 class CompilationInfo;
16
14 namespace interpreter { 17 namespace interpreter {
15 18
16 class LoopBuilder; 19 class LoopBuilder;
17 20
18 class BytecodeGenerator final : public AstVisitor { 21 class BytecodeGenerator final : public AstVisitor {
19 public: 22 public:
20 explicit BytecodeGenerator(CompilationInfo* info); 23 explicit BytecodeGenerator(CompilationInfo* info);
21 24
22 Handle<BytecodeArray> MakeBytecode(); 25 Handle<BytecodeArray> MakeBytecode();
23 26
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 Register generator_state_; 215 Register generator_state_;
213 int try_catch_nesting_level_; 216 int try_catch_nesting_level_;
214 int try_finally_nesting_level_; 217 int try_finally_nesting_level_;
215 }; 218 };
216 219
217 } // namespace interpreter 220 } // namespace interpreter
218 } // namespace internal 221 } // namespace internal
219 } // namespace v8 222 } // namespace v8
220 223
221 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 224 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« src/compiler/ast-graph-builder.h ('K') | « src/compiler/wasm-compiler.cc ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698