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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 CheckValueInputIs(node, 0, Type::Number()); | 1087 CheckValueInputIs(node, 0, Type::Number()); |
1088 CheckTypeIs(node, Type::Number()); | 1088 CheckTypeIs(node, Type::Number()); |
1089 break; | 1089 break; |
1090 case IrOpcode::kTypeGuard: | 1090 case IrOpcode::kTypeGuard: |
1091 CheckTypeIs(node, TypeGuardTypeOf(node->op())); | 1091 CheckTypeIs(node, TypeGuardTypeOf(node->op())); |
1092 break; | 1092 break; |
1093 | 1093 |
1094 // Machine operators | 1094 // Machine operators |
1095 // ----------------------- | 1095 // ----------------------- |
1096 case IrOpcode::kLoad: | 1096 case IrOpcode::kLoad: |
| 1097 case IrOpcode::kTrapableLoad: |
1097 case IrOpcode::kStore: | 1098 case IrOpcode::kStore: |
1098 case IrOpcode::kStackSlot: | 1099 case IrOpcode::kStackSlot: |
1099 case IrOpcode::kWord32And: | 1100 case IrOpcode::kWord32And: |
1100 case IrOpcode::kWord32Or: | 1101 case IrOpcode::kWord32Or: |
1101 case IrOpcode::kWord32Xor: | 1102 case IrOpcode::kWord32Xor: |
1102 case IrOpcode::kWord32Shl: | 1103 case IrOpcode::kWord32Shl: |
1103 case IrOpcode::kWord32Shr: | 1104 case IrOpcode::kWord32Shr: |
1104 case IrOpcode::kWord32Sar: | 1105 case IrOpcode::kWord32Sar: |
1105 case IrOpcode::kWord32Ror: | 1106 case IrOpcode::kWord32Ror: |
1106 case IrOpcode::kWord32Equal: | 1107 case IrOpcode::kWord32Equal: |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 replacement->op()->EffectOutputCount() > 0); | 1582 replacement->op()->EffectOutputCount() > 0); |
1582 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1583 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1583 replacement->opcode() == IrOpcode::kFrameState); | 1584 replacement->opcode() == IrOpcode::kFrameState); |
1584 } | 1585 } |
1585 | 1586 |
1586 #endif // DEBUG | 1587 #endif // DEBUG |
1587 | 1588 |
1588 } // namespace compiler | 1589 } // namespace compiler |
1589 } // namespace internal | 1590 } // namespace internal |
1590 } // namespace v8 | 1591 } // namespace v8 |
OLD | NEW |