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 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 case IrOpcode::kCheckedInt32Sub: | 991 case IrOpcode::kCheckedInt32Sub: |
992 case IrOpcode::kCheckedInt32Div: | 992 case IrOpcode::kCheckedInt32Div: |
993 case IrOpcode::kCheckedInt32Mod: | 993 case IrOpcode::kCheckedInt32Mod: |
994 case IrOpcode::kCheckedUint32Div: | 994 case IrOpcode::kCheckedUint32Div: |
995 case IrOpcode::kCheckedUint32Mod: | 995 case IrOpcode::kCheckedUint32Mod: |
996 case IrOpcode::kCheckedInt32Mul: | 996 case IrOpcode::kCheckedInt32Mul: |
997 case IrOpcode::kCheckedUint32ToInt32: | 997 case IrOpcode::kCheckedUint32ToInt32: |
998 case IrOpcode::kCheckedFloat64ToInt32: | 998 case IrOpcode::kCheckedFloat64ToInt32: |
999 case IrOpcode::kCheckedTaggedToInt32: | 999 case IrOpcode::kCheckedTaggedToInt32: |
1000 case IrOpcode::kCheckedTaggedToFloat64: | 1000 case IrOpcode::kCheckedTaggedToFloat64: |
| 1001 case IrOpcode::kCheckedTruncateTaggedToWord32: |
1001 break; | 1002 break; |
1002 | 1003 |
1003 case IrOpcode::kCheckFloat64Hole: | 1004 case IrOpcode::kCheckFloat64Hole: |
1004 CheckValueInputIs(node, 0, Type::Number()); | 1005 CheckValueInputIs(node, 0, Type::Number()); |
1005 CheckUpperIs(node, Type::Number()); | 1006 CheckUpperIs(node, Type::Number()); |
1006 break; | 1007 break; |
1007 case IrOpcode::kCheckTaggedHole: | 1008 case IrOpcode::kCheckTaggedHole: |
1008 CheckValueInputIs(node, 0, Type::Any()); | 1009 CheckValueInputIs(node, 0, Type::Any()); |
1009 CheckUpperIs(node, Type::Any()); | 1010 CheckUpperIs(node, Type::Any()); |
1010 break; | 1011 break; |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1533 replacement->op()->EffectOutputCount() > 0); | 1534 replacement->op()->EffectOutputCount() > 0); |
1534 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1535 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1535 replacement->opcode() == IrOpcode::kFrameState); | 1536 replacement->opcode() == IrOpcode::kFrameState); |
1536 } | 1537 } |
1537 | 1538 |
1538 #endif // DEBUG | 1539 #endif // DEBUG |
1539 | 1540 |
1540 } // namespace compiler | 1541 } // namespace compiler |
1541 } // namespace internal | 1542 } // namespace internal |
1542 } // namespace v8 | 1543 } // namespace v8 |
OLD | NEW |