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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 // Type is empty. | 632 // Type is empty. |
633 CheckNotTyped(node); | 633 CheckNotTyped(node); |
634 CHECK(StoreGlobalParametersOf(node->op()).feedback().IsValid()); | 634 CHECK(StoreGlobalParametersOf(node->op()).feedback().IsValid()); |
635 break; | 635 break; |
636 case IrOpcode::kJSStoreNamedOwn: | 636 case IrOpcode::kJSStoreNamedOwn: |
637 // Type is empty. | 637 // Type is empty. |
638 CheckNotTyped(node); | 638 CheckNotTyped(node); |
639 CHECK(StoreNamedOwnParametersOf(node->op()).feedback().IsValid()); | 639 CHECK(StoreNamedOwnParametersOf(node->op()).feedback().IsValid()); |
640 break; | 640 break; |
641 case IrOpcode::kJSStoreDataPropertyInLiteral: | 641 case IrOpcode::kJSStoreDataPropertyInLiteral: |
| 642 case IrOpcode::kJSCollectTypeProfile: |
642 // Type is empty. | 643 // Type is empty. |
643 CheckNotTyped(node); | 644 CheckNotTyped(node); |
644 break; | 645 break; |
645 case IrOpcode::kJSDeleteProperty: | 646 case IrOpcode::kJSDeleteProperty: |
646 case IrOpcode::kJSHasProperty: | 647 case IrOpcode::kJSHasProperty: |
647 case IrOpcode::kJSInstanceOf: | 648 case IrOpcode::kJSInstanceOf: |
648 case IrOpcode::kJSOrdinaryHasInstance: | 649 case IrOpcode::kJSOrdinaryHasInstance: |
649 // Type is Boolean. | 650 // Type is Boolean. |
650 CheckTypeIs(node, Type::Boolean()); | 651 CheckTypeIs(node, Type::Boolean()); |
651 break; | 652 break; |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 replacement->op()->EffectOutputCount() > 0); | 1724 replacement->op()->EffectOutputCount() > 0); |
1724 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1725 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1725 replacement->opcode() == IrOpcode::kFrameState); | 1726 replacement->opcode() == IrOpcode::kFrameState); |
1726 } | 1727 } |
1727 | 1728 |
1728 #endif // DEBUG | 1729 #endif // DEBUG |
1729 | 1730 |
1730 } // namespace compiler | 1731 } // namespace compiler |
1731 } // namespace internal | 1732 } // namespace internal |
1732 } // namespace v8 | 1733 } // namespace v8 |
OLD | NEW |