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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 CheckTypeIs(node, Type::SignedSmall()); | 947 CheckTypeIs(node, Type::SignedSmall()); |
948 break; | 948 break; |
949 | 949 |
950 case IrOpcode::kReferenceEqual: | 950 case IrOpcode::kReferenceEqual: |
951 // (Unique, Any) -> Boolean and | 951 // (Unique, Any) -> Boolean and |
952 // (Any, Unique) -> Boolean | 952 // (Any, Unique) -> Boolean |
953 CheckTypeIs(node, Type::Boolean()); | 953 CheckTypeIs(node, Type::Boolean()); |
954 break; | 954 break; |
955 | 955 |
956 case IrOpcode::kObjectIsDetectableCallable: | 956 case IrOpcode::kObjectIsDetectableCallable: |
| 957 case IrOpcode::kObjectIsNaN: |
957 case IrOpcode::kObjectIsNonCallable: | 958 case IrOpcode::kObjectIsNonCallable: |
958 case IrOpcode::kObjectIsNumber: | 959 case IrOpcode::kObjectIsNumber: |
959 case IrOpcode::kObjectIsReceiver: | 960 case IrOpcode::kObjectIsReceiver: |
960 case IrOpcode::kObjectIsSmi: | 961 case IrOpcode::kObjectIsSmi: |
961 case IrOpcode::kObjectIsString: | 962 case IrOpcode::kObjectIsString: |
962 case IrOpcode::kObjectIsUndetectable: | 963 case IrOpcode::kObjectIsUndetectable: |
963 case IrOpcode::kArrayBufferWasNeutered: | 964 case IrOpcode::kArrayBufferWasNeutered: |
964 CheckValueInputIs(node, 0, Type::Any()); | 965 CheckValueInputIs(node, 0, Type::Any()); |
965 CheckTypeIs(node, Type::Boolean()); | 966 CheckTypeIs(node, Type::Boolean()); |
966 break; | 967 break; |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1722 replacement->op()->EffectOutputCount() > 0); | 1723 replacement->op()->EffectOutputCount() > 0); |
1723 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1724 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1724 replacement->opcode() == IrOpcode::kFrameState); | 1725 replacement->opcode() == IrOpcode::kFrameState); |
1725 } | 1726 } |
1726 | 1727 |
1727 #endif // DEBUG | 1728 #endif // DEBUG |
1728 | 1729 |
1729 } // namespace compiler | 1730 } // namespace compiler |
1730 } // namespace internal | 1731 } // namespace internal |
1731 } // namespace v8 | 1732 } // namespace v8 |
OLD | NEW |