OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/verifier.h" | 5 #include "src/compiler/verifier.h" |
6 | 6 |
7 #include <deque> | 7 #include <deque> |
8 #include <queue> | 8 #include <queue> |
9 #include <sstream> | 9 #include <sstream> |
10 #include <string> | 10 #include <string> |
11 | 11 |
| 12 #include "src/bit-vector.h" |
12 #include "src/compiler/generic-algorithm.h" | 13 #include "src/compiler/generic-algorithm.h" |
13 #include "src/compiler/generic-node-inl.h" | 14 #include "src/compiler/generic-node-inl.h" |
14 #include "src/compiler/generic-node.h" | 15 #include "src/compiler/generic-node.h" |
15 #include "src/compiler/graph-inl.h" | 16 #include "src/compiler/graph-inl.h" |
16 #include "src/compiler/graph.h" | 17 #include "src/compiler/graph.h" |
17 #include "src/compiler/node.h" | 18 #include "src/compiler/node.h" |
18 #include "src/compiler/node-properties-inl.h" | 19 #include "src/compiler/node-properties-inl.h" |
19 #include "src/compiler/node-properties.h" | 20 #include "src/compiler/node-properties.h" |
20 #include "src/compiler/opcodes.h" | 21 #include "src/compiler/opcodes.h" |
21 #include "src/compiler/operator.h" | 22 #include "src/compiler/operator.h" |
22 #include "src/compiler/schedule.h" | 23 #include "src/compiler/schedule.h" |
23 #include "src/compiler/simplified-operator.h" | 24 #include "src/compiler/simplified-operator.h" |
24 #include "src/data-flow.h" | |
25 #include "src/ostreams.h" | 25 #include "src/ostreams.h" |
26 | 26 |
27 namespace v8 { | 27 namespace v8 { |
28 namespace internal { | 28 namespace internal { |
29 namespace compiler { | 29 namespace compiler { |
30 | 30 |
31 | 31 |
32 static bool IsDefUseChainLinkPresent(Node* def, Node* use) { | 32 static bool IsDefUseChainLinkPresent(Node* def, Node* use) { |
33 Node::Uses uses = def->uses(); | 33 Node::Uses uses = def->uses(); |
34 for (Node::Uses::iterator it = uses.begin(); it != uses.end(); ++it) { | 34 for (Node::Uses::iterator it = uses.begin(); it != uses.end(); ++it) { |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 // Check inputs for all nodes in the block. | 972 // Check inputs for all nodes in the block. |
973 for (size_t i = 0; i < block->NodeCount(); i++) { | 973 for (size_t i = 0; i < block->NodeCount(); i++) { |
974 Node* node = block->NodeAt(i); | 974 Node* node = block->NodeAt(i); |
975 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); | 975 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); |
976 } | 976 } |
977 } | 977 } |
978 } | 978 } |
979 } | 979 } |
980 } | 980 } |
981 } // namespace v8::internal::compiler | 981 } // namespace v8::internal::compiler |
OLD | NEW |