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 <algorithm> | 7 #include <algorithm> |
8 #include <deque> | 8 #include <deque> |
9 #include <queue> | 9 #include <queue> |
10 #include <sstream> | 10 #include <sstream> |
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 CheckInputsDominate(schedule, block, control, | 1097 CheckInputsDominate(schedule, block, control, |
1098 static_cast<int>(block->NodeCount()) - 1); | 1098 static_cast<int>(block->NodeCount()) - 1); |
1099 } | 1099 } |
1100 // Check inputs for all nodes in the block. | 1100 // Check inputs for all nodes in the block. |
1101 for (size_t i = 0; i < block->NodeCount(); i++) { | 1101 for (size_t i = 0; i < block->NodeCount(); i++) { |
1102 Node* node = block->NodeAt(i); | 1102 Node* node = block->NodeAt(i); |
1103 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); | 1103 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); |
1104 } | 1104 } |
1105 } | 1105 } |
1106 } | 1106 } |
1107 } | 1107 } // namespace compiler |
1108 } | 1108 } // namespace internal |
1109 } // namespace v8::internal::compiler | 1109 } // namespace v8 |
OLD | NEW |