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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 CheckValueInputIs(node, 0, Type::Any()); | 964 CheckValueInputIs(node, 0, Type::Any()); |
965 CheckUpperIs(node, Type::TaggedSigned()); | 965 CheckUpperIs(node, Type::TaggedSigned()); |
966 break; | 966 break; |
967 case IrOpcode::kCheckTaggedPointer: | 967 case IrOpcode::kCheckTaggedPointer: |
968 CheckValueInputIs(node, 0, Type::Any()); | 968 CheckValueInputIs(node, 0, Type::Any()); |
969 CheckUpperIs(node, Type::TaggedPointer()); | 969 CheckUpperIs(node, Type::TaggedPointer()); |
970 break; | 970 break; |
971 | 971 |
972 case IrOpcode::kCheckedInt32Add: | 972 case IrOpcode::kCheckedInt32Add: |
973 case IrOpcode::kCheckedInt32Sub: | 973 case IrOpcode::kCheckedInt32Sub: |
| 974 case IrOpcode::kCheckedInt32Div: |
| 975 case IrOpcode::kCheckedInt32Mod: |
974 case IrOpcode::kCheckedUint32ToInt32: | 976 case IrOpcode::kCheckedUint32ToInt32: |
975 case IrOpcode::kCheckedFloat64ToInt32: | 977 case IrOpcode::kCheckedFloat64ToInt32: |
976 case IrOpcode::kCheckedTaggedToInt32: | 978 case IrOpcode::kCheckedTaggedToInt32: |
977 case IrOpcode::kCheckedTaggedToFloat64: | 979 case IrOpcode::kCheckedTaggedToFloat64: |
978 break; | 980 break; |
979 | 981 |
980 case IrOpcode::kCheckFloat64Hole: | 982 case IrOpcode::kCheckFloat64Hole: |
981 CheckValueInputIs(node, 0, Type::Number()); | 983 CheckValueInputIs(node, 0, Type::Number()); |
982 CheckUpperIs(node, Type::Number()); | 984 CheckUpperIs(node, Type::Number()); |
983 break; | 985 break; |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 replacement->op()->EffectOutputCount() > 0); | 1511 replacement->op()->EffectOutputCount() > 0); |
1510 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1512 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1511 replacement->opcode() == IrOpcode::kFrameState); | 1513 replacement->opcode() == IrOpcode::kFrameState); |
1512 } | 1514 } |
1513 | 1515 |
1514 #endif // DEBUG | 1516 #endif // DEBUG |
1515 | 1517 |
1516 } // namespace compiler | 1518 } // namespace compiler |
1517 } // namespace internal | 1519 } // namespace internal |
1518 } // namespace v8 | 1520 } // namespace v8 |
OLD | NEW |