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 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 break; | 939 break; |
940 case IrOpcode::kCheckTaggedPointer: | 940 case IrOpcode::kCheckTaggedPointer: |
941 CheckValueInputIs(node, 0, Type::Any()); | 941 CheckValueInputIs(node, 0, Type::Any()); |
942 CheckUpperIs(node, Type::TaggedPointer()); | 942 CheckUpperIs(node, Type::TaggedPointer()); |
943 break; | 943 break; |
944 | 944 |
945 case IrOpcode::kCheckedInt32Add: | 945 case IrOpcode::kCheckedInt32Add: |
946 case IrOpcode::kCheckedInt32Sub: | 946 case IrOpcode::kCheckedInt32Sub: |
947 case IrOpcode::kCheckedInt32Div: | 947 case IrOpcode::kCheckedInt32Div: |
948 case IrOpcode::kCheckedInt32Mod: | 948 case IrOpcode::kCheckedInt32Mod: |
| 949 case IrOpcode::kCheckedUint32Div: |
| 950 case IrOpcode::kCheckedUint32Mod: |
949 case IrOpcode::kCheckedUint32ToInt32: | 951 case IrOpcode::kCheckedUint32ToInt32: |
950 case IrOpcode::kCheckedFloat64ToInt32: | 952 case IrOpcode::kCheckedFloat64ToInt32: |
951 case IrOpcode::kCheckedTaggedToInt32: | 953 case IrOpcode::kCheckedTaggedToInt32: |
952 case IrOpcode::kCheckedTaggedToFloat64: | 954 case IrOpcode::kCheckedTaggedToFloat64: |
953 break; | 955 break; |
954 | 956 |
955 case IrOpcode::kCheckFloat64Hole: | 957 case IrOpcode::kCheckFloat64Hole: |
956 CheckValueInputIs(node, 0, Type::Number()); | 958 CheckValueInputIs(node, 0, Type::Number()); |
957 CheckUpperIs(node, Type::Number()); | 959 CheckUpperIs(node, Type::Number()); |
958 break; | 960 break; |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 replacement->op()->EffectOutputCount() > 0); | 1486 replacement->op()->EffectOutputCount() > 0); |
1485 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1487 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1486 replacement->opcode() == IrOpcode::kFrameState); | 1488 replacement->opcode() == IrOpcode::kFrameState); |
1487 } | 1489 } |
1488 | 1490 |
1489 #endif // DEBUG | 1491 #endif // DEBUG |
1490 | 1492 |
1491 } // namespace compiler | 1493 } // namespace compiler |
1492 } // namespace internal | 1494 } // namespace internal |
1493 } // namespace v8 | 1495 } // namespace v8 |
OLD | NEW |