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/bit-vector.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/compiler/graph-visualizer.h" | 9 #include "src/compiler/graph-visualizer.h" |
10 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
11 #include "src/compiler/node-properties.h" | 11 #include "src/compiler/node-properties.h" |
12 #include "src/compiler/node-properties-inl.h" | |
13 #include "src/compiler/operator-properties.h" | 12 #include "src/compiler/operator-properties.h" |
14 | 13 |
15 namespace v8 { | 14 namespace v8 { |
16 namespace internal { | 15 namespace internal { |
17 namespace compiler { | 16 namespace compiler { |
18 | 17 |
19 | 18 |
20 StructuredGraphBuilder::StructuredGraphBuilder(Isolate* isolate, | 19 StructuredGraphBuilder::StructuredGraphBuilder(Isolate* isolate, |
21 Zone* local_zone, Graph* graph, | 20 Zone* local_zone, Graph* graph, |
22 CommonOperatorBuilder* common) | 21 CommonOperatorBuilder* common) |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 if (!dead_control_.is_set()) { | 296 if (!dead_control_.is_set()) { |
298 Node* dead_node = graph()->NewNode(common_->Dead()); | 297 Node* dead_node = graph()->NewNode(common_->Dead()); |
299 dead_control_.set(dead_node); | 298 dead_control_.set(dead_node); |
300 return dead_node; | 299 return dead_node; |
301 } | 300 } |
302 return dead_control_.get(); | 301 return dead_control_.get(); |
303 } | 302 } |
304 } | 303 } |
305 } | 304 } |
306 } // namespace v8::internal::compiler | 305 } // namespace v8::internal::compiler |
OLD | NEW |