OLD | NEW |
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" | 8 #include "src/compiler.h" |
9 #include "src/compiler/bytecode-branch-analysis.h" | 9 #include "src/compiler/bytecode-branch-analysis.h" |
10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
11 #include "src/interpreter/bytecode-array-iterator.h" | 11 #include "src/interpreter/bytecode-array-iterator.h" |
| 12 #include "src/interpreter/bytecode-flags.h" |
12 #include "src/interpreter/bytecodes.h" | 13 #include "src/interpreter/bytecodes.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 namespace compiler { | 17 namespace compiler { |
17 | 18 |
18 // The BytecodeGraphBuilder produces a high-level IR graph based on | 19 // The BytecodeGraphBuilder produces a high-level IR graph based on |
19 // interpreter bytecodes. | 20 // interpreter bytecodes. |
20 class BytecodeGraphBuilder { | 21 class BytecodeGraphBuilder { |
21 public: | 22 public: |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 ZoneVector<Node*> exit_controls_; | 243 ZoneVector<Node*> exit_controls_; |
243 | 244 |
244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
245 }; | 246 }; |
246 | 247 |
247 } // namespace compiler | 248 } // namespace compiler |
248 } // namespace internal | 249 } // namespace internal |
249 } // namespace v8 | 250 } // namespace v8 |
250 | 251 |
251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |