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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 CheckTypeIs(node, Type::Number()); | 1156 CheckTypeIs(node, Type::Number()); |
1157 break; | 1157 break; |
1158 case IrOpcode::kTypeGuard: | 1158 case IrOpcode::kTypeGuard: |
1159 CheckTypeIs(node, TypeGuardTypeOf(node->op())); | 1159 CheckTypeIs(node, TypeGuardTypeOf(node->op())); |
1160 break; | 1160 break; |
1161 | 1161 |
1162 // Machine operators | 1162 // Machine operators |
1163 // ----------------------- | 1163 // ----------------------- |
1164 case IrOpcode::kLoad: | 1164 case IrOpcode::kLoad: |
1165 case IrOpcode::kProtectedLoad: | 1165 case IrOpcode::kProtectedLoad: |
| 1166 case IrOpcode::kProtectedStore: |
1166 case IrOpcode::kStore: | 1167 case IrOpcode::kStore: |
1167 case IrOpcode::kStackSlot: | 1168 case IrOpcode::kStackSlot: |
1168 case IrOpcode::kWord32And: | 1169 case IrOpcode::kWord32And: |
1169 case IrOpcode::kWord32Or: | 1170 case IrOpcode::kWord32Or: |
1170 case IrOpcode::kWord32Xor: | 1171 case IrOpcode::kWord32Xor: |
1171 case IrOpcode::kWord32Shl: | 1172 case IrOpcode::kWord32Shl: |
1172 case IrOpcode::kWord32Shr: | 1173 case IrOpcode::kWord32Shr: |
1173 case IrOpcode::kWord32Sar: | 1174 case IrOpcode::kWord32Sar: |
1174 case IrOpcode::kWord32Ror: | 1175 case IrOpcode::kWord32Ror: |
1175 case IrOpcode::kWord32Equal: | 1176 case IrOpcode::kWord32Equal: |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 replacement->op()->EffectOutputCount() > 0); | 1653 replacement->op()->EffectOutputCount() > 0); |
1653 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1654 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1654 replacement->opcode() == IrOpcode::kFrameState); | 1655 replacement->opcode() == IrOpcode::kFrameState); |
1655 } | 1656 } |
1656 | 1657 |
1657 #endif // DEBUG | 1658 #endif // DEBUG |
1658 | 1659 |
1659 } // namespace compiler | 1660 } // namespace compiler |
1660 } // namespace internal | 1661 } // namespace internal |
1661 } // namespace v8 | 1662 } // namespace v8 |
OLD | NEW |