OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #include "src/compiler/graph-builder.h" | 5 #include "src/compiler/graph-builder.h" |
6 | 6 |
| 7 #include "src/bit-vector.h" |
7 #include "src/compiler.h" | 8 #include "src/compiler.h" |
8 #include "src/compiler/graph-visualizer.h" | 9 #include "src/compiler/graph-visualizer.h" |
9 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
10 #include "src/compiler/node-properties.h" | 11 #include "src/compiler/node-properties.h" |
11 #include "src/compiler/node-properties-inl.h" | 12 #include "src/compiler/node-properties-inl.h" |
12 #include "src/compiler/operator-properties.h" | 13 #include "src/compiler/operator-properties.h" |
13 #include "src/compiler/operator-properties-inl.h" | |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 namespace compiler { | 17 namespace compiler { |
18 | 18 |
19 | 19 |
20 StructuredGraphBuilder::StructuredGraphBuilder(Zone* local_zone, Graph* graph, | 20 StructuredGraphBuilder::StructuredGraphBuilder(Zone* local_zone, Graph* graph, |
21 CommonOperatorBuilder* common) | 21 CommonOperatorBuilder* common) |
22 : GraphBuilder(graph), | 22 : GraphBuilder(graph), |
23 common_(common), | 23 common_(common), |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 if (!dead_control_.is_set()) { | 270 if (!dead_control_.is_set()) { |
271 Node* dead_node = graph()->NewNode(common_->Dead()); | 271 Node* dead_node = graph()->NewNode(common_->Dead()); |
272 dead_control_.set(dead_node); | 272 dead_control_.set(dead_node); |
273 return dead_node; | 273 return dead_node; |
274 } | 274 } |
275 return dead_control_.get(); | 275 return dead_control_.get(); |
276 } | 276 } |
277 } | 277 } |
278 } | 278 } |
279 } // namespace v8::internal::compiler | 279 } // namespace v8::internal::compiler |
OLD | NEW |