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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 CheckValueInputIs(node, 0, Type::Number()); | 1092 CheckValueInputIs(node, 0, Type::Number()); |
1093 CheckTypeIs(node, Type::Number()); | 1093 CheckTypeIs(node, Type::Number()); |
1094 break; | 1094 break; |
1095 case IrOpcode::kTypeGuard: | 1095 case IrOpcode::kTypeGuard: |
1096 CheckTypeIs(node, TypeGuardTypeOf(node->op())); | 1096 CheckTypeIs(node, TypeGuardTypeOf(node->op())); |
1097 break; | 1097 break; |
1098 | 1098 |
1099 // Machine operators | 1099 // Machine operators |
1100 // ----------------------- | 1100 // ----------------------- |
1101 case IrOpcode::kLoad: | 1101 case IrOpcode::kLoad: |
| 1102 case IrOpcode::kProtectedLoad: |
1102 case IrOpcode::kStore: | 1103 case IrOpcode::kStore: |
1103 case IrOpcode::kStackSlot: | 1104 case IrOpcode::kStackSlot: |
1104 case IrOpcode::kWord32And: | 1105 case IrOpcode::kWord32And: |
1105 case IrOpcode::kWord32Or: | 1106 case IrOpcode::kWord32Or: |
1106 case IrOpcode::kWord32Xor: | 1107 case IrOpcode::kWord32Xor: |
1107 case IrOpcode::kWord32Shl: | 1108 case IrOpcode::kWord32Shl: |
1108 case IrOpcode::kWord32Shr: | 1109 case IrOpcode::kWord32Shr: |
1109 case IrOpcode::kWord32Sar: | 1110 case IrOpcode::kWord32Sar: |
1110 case IrOpcode::kWord32Ror: | 1111 case IrOpcode::kWord32Ror: |
1111 case IrOpcode::kWord32Equal: | 1112 case IrOpcode::kWord32Equal: |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 replacement->op()->EffectOutputCount() > 0); | 1587 replacement->op()->EffectOutputCount() > 0); |
1587 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1588 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1588 replacement->opcode() == IrOpcode::kFrameState); | 1589 replacement->opcode() == IrOpcode::kFrameState); |
1589 } | 1590 } |
1590 | 1591 |
1591 #endif // DEBUG | 1592 #endif // DEBUG |
1592 | 1593 |
1593 } // namespace compiler | 1594 } // namespace compiler |
1594 } // namespace internal | 1595 } // namespace internal |
1595 } // namespace v8 | 1596 } // namespace v8 |
OLD | NEW |