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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 case IrOpcode::kLoad: | 744 case IrOpcode::kLoad: |
745 case IrOpcode::kStore: | 745 case IrOpcode::kStore: |
746 case IrOpcode::kWord32And: | 746 case IrOpcode::kWord32And: |
747 case IrOpcode::kWord32Or: | 747 case IrOpcode::kWord32Or: |
748 case IrOpcode::kWord32Xor: | 748 case IrOpcode::kWord32Xor: |
749 case IrOpcode::kWord32Shl: | 749 case IrOpcode::kWord32Shl: |
750 case IrOpcode::kWord32Shr: | 750 case IrOpcode::kWord32Shr: |
751 case IrOpcode::kWord32Sar: | 751 case IrOpcode::kWord32Sar: |
752 case IrOpcode::kWord32Ror: | 752 case IrOpcode::kWord32Ror: |
753 case IrOpcode::kWord32Equal: | 753 case IrOpcode::kWord32Equal: |
| 754 case IrOpcode::kWord32Clz: |
754 case IrOpcode::kWord64And: | 755 case IrOpcode::kWord64And: |
755 case IrOpcode::kWord64Or: | 756 case IrOpcode::kWord64Or: |
756 case IrOpcode::kWord64Xor: | 757 case IrOpcode::kWord64Xor: |
757 case IrOpcode::kWord64Shl: | 758 case IrOpcode::kWord64Shl: |
758 case IrOpcode::kWord64Shr: | 759 case IrOpcode::kWord64Shr: |
759 case IrOpcode::kWord64Sar: | 760 case IrOpcode::kWord64Sar: |
760 case IrOpcode::kWord64Ror: | 761 case IrOpcode::kWord64Ror: |
761 case IrOpcode::kWord64Equal: | 762 case IrOpcode::kWord64Equal: |
762 case IrOpcode::kInt32Add: | 763 case IrOpcode::kInt32Add: |
763 case IrOpcode::kInt32AddWithOverflow: | 764 case IrOpcode::kInt32AddWithOverflow: |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 // Check inputs for all nodes in the block. | 1077 // Check inputs for all nodes in the block. |
1077 for (size_t i = 0; i < block->NodeCount(); i++) { | 1078 for (size_t i = 0; i < block->NodeCount(); i++) { |
1078 Node* node = block->NodeAt(i); | 1079 Node* node = block->NodeAt(i); |
1079 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); | 1080 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); |
1080 } | 1081 } |
1081 } | 1082 } |
1082 } | 1083 } |
1083 } | 1084 } |
1084 } | 1085 } |
1085 } // namespace v8::internal::compiler | 1086 } // namespace v8::internal::compiler |
OLD | NEW |