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