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

Side by Side Diff: src/compiler/bytecode-graph-builder.h

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 years, 3 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/compiler/basic-block-instrumentor.cc ('k') | src/compiler/bytecode-graph-builder.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_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler.h"
9 #include "src/compiler/bytecode-branch-analysis.h" 8 #include "src/compiler/bytecode-branch-analysis.h"
10 #include "src/compiler/bytecode-loop-analysis.h" 9 #include "src/compiler/bytecode-loop-analysis.h"
11 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
12 #include "src/compiler/type-hint-analyzer.h" 11 #include "src/compiler/type-hint-analyzer.h"
13 #include "src/interpreter/bytecode-array-iterator.h" 12 #include "src/interpreter/bytecode-array-iterator.h"
14 #include "src/interpreter/bytecode-flags.h" 13 #include "src/interpreter/bytecode-flags.h"
15 #include "src/interpreter/bytecodes.h" 14 #include "src/interpreter/bytecodes.h"
16 15
17 namespace v8 { 16 namespace v8 {
18 namespace internal { 17 namespace internal {
18
19 class CompilationInfo;
20
19 namespace compiler { 21 namespace compiler {
20 22
21 // The BytecodeGraphBuilder produces a high-level IR graph based on 23 // The BytecodeGraphBuilder produces a high-level IR graph based on
22 // interpreter bytecodes. 24 // interpreter bytecodes.
23 class BytecodeGraphBuilder { 25 class BytecodeGraphBuilder {
24 public: 26 public:
25 BytecodeGraphBuilder(Zone* local_zone, CompilationInfo* info, 27 BytecodeGraphBuilder(Zone* local_zone, CompilationInfo* info,
26 JSGraph* jsgraph); 28 JSGraph* jsgraph);
27 29
28 // Creates a graph by visiting bytecodes. 30 // Creates a graph by visiting bytecodes.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 static int const kBinaryOperationSmiHintIndex = 2; 265 static int const kBinaryOperationSmiHintIndex = 2;
264 266
265 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 267 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
266 }; 268 };
267 269
268 } // namespace compiler 270 } // namespace compiler
269 } // namespace internal 271 } // namespace internal
270 } // namespace v8 272 } // namespace v8
271 273
272 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 274 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/basic-block-instrumentor.cc ('k') | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698