| 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 case IrOpcode::kCheckedFloat64ToInt32: | 1156 case IrOpcode::kCheckedFloat64ToInt32: |
| 1157 case IrOpcode::kCheckedTaggedSignedToInt32: | 1157 case IrOpcode::kCheckedTaggedSignedToInt32: |
| 1158 case IrOpcode::kCheckedTaggedToInt32: | 1158 case IrOpcode::kCheckedTaggedToInt32: |
| 1159 case IrOpcode::kCheckedTaggedToFloat64: | 1159 case IrOpcode::kCheckedTaggedToFloat64: |
| 1160 case IrOpcode::kCheckedTaggedToTaggedSigned: | 1160 case IrOpcode::kCheckedTaggedToTaggedSigned: |
| 1161 case IrOpcode::kCheckedTaggedToTaggedPointer: | 1161 case IrOpcode::kCheckedTaggedToTaggedPointer: |
| 1162 case IrOpcode::kCheckedTruncateTaggedToWord32: | 1162 case IrOpcode::kCheckedTruncateTaggedToWord32: |
| 1163 break; | 1163 break; |
| 1164 | 1164 |
| 1165 case IrOpcode::kCheckFloat64Hole: | 1165 case IrOpcode::kCheckFloat64Hole: |
| 1166 CheckValueInputIs(node, 0, Type::Number()); | 1166 CheckValueInputIs(node, 0, Type::NumberOrHole()); |
| 1167 CheckTypeIs(node, Type::Number()); | 1167 CheckTypeIs(node, Type::NumberOrUndefined()); |
| 1168 break; | 1168 break; |
| 1169 case IrOpcode::kCheckTaggedHole: | 1169 case IrOpcode::kCheckTaggedHole: |
| 1170 CheckValueInputIs(node, 0, Type::Any()); | 1170 CheckValueInputIs(node, 0, Type::Any()); |
| 1171 CheckTypeIs(node, Type::NonInternal()); | 1171 CheckTypeIs(node, Type::NonInternal()); |
| 1172 break; | 1172 break; |
| 1173 case IrOpcode::kConvertTaggedHoleToUndefined: | 1173 case IrOpcode::kConvertTaggedHoleToUndefined: |
| 1174 CheckValueInputIs(node, 0, Type::Any()); | 1174 CheckValueInputIs(node, 0, Type::Any()); |
| 1175 CheckTypeIs(node, Type::NonInternal()); | 1175 CheckTypeIs(node, Type::NonInternal()); |
| 1176 break; | 1176 break; |
| 1177 | 1177 |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1712 replacement->op()->EffectOutputCount() > 0); | 1712 replacement->op()->EffectOutputCount() > 0); |
| 1713 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1713 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1714 replacement->opcode() == IrOpcode::kFrameState); | 1714 replacement->opcode() == IrOpcode::kFrameState); |
| 1715 } | 1715 } |
| 1716 | 1716 |
| 1717 #endif // DEBUG | 1717 #endif // DEBUG |
| 1718 | 1718 |
| 1719 } // namespace compiler | 1719 } // namespace compiler |
| 1720 } // namespace internal | 1720 } // namespace internal |
| 1721 } // namespace v8 | 1721 } // namespace v8 |
| OLD | NEW |