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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 // Type is empty. | 626 // Type is empty. |
627 CheckNotTyped(node); | 627 CheckNotTyped(node); |
628 CHECK(NamedAccessOf(node->op()).feedback().IsValid()); | 628 CHECK(NamedAccessOf(node->op()).feedback().IsValid()); |
629 break; | 629 break; |
630 case IrOpcode::kJSStoreGlobal: | 630 case IrOpcode::kJSStoreGlobal: |
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::kJSStoreDataPropertyInLiteral: | 635 case IrOpcode::kJSStoreDataPropertyInLiteral: |
| 636 case IrOpcode::kJSCollectTypeProfile: |
636 // Type is empty. | 637 // Type is empty. |
637 CheckNotTyped(node); | 638 CheckNotTyped(node); |
638 break; | 639 break; |
639 case IrOpcode::kJSDeleteProperty: | 640 case IrOpcode::kJSDeleteProperty: |
640 case IrOpcode::kJSHasProperty: | 641 case IrOpcode::kJSHasProperty: |
641 case IrOpcode::kJSInstanceOf: | 642 case IrOpcode::kJSInstanceOf: |
642 case IrOpcode::kJSOrdinaryHasInstance: | 643 case IrOpcode::kJSOrdinaryHasInstance: |
643 // Type is Boolean. | 644 // Type is Boolean. |
644 CheckTypeIs(node, Type::Boolean()); | 645 CheckTypeIs(node, Type::Boolean()); |
645 break; | 646 break; |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 replacement->op()->EffectOutputCount() > 0); | 1708 replacement->op()->EffectOutputCount() > 0); |
1708 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1709 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1709 replacement->opcode() == IrOpcode::kFrameState); | 1710 replacement->opcode() == IrOpcode::kFrameState); |
1710 } | 1711 } |
1711 | 1712 |
1712 #endif // DEBUG | 1713 #endif // DEBUG |
1713 | 1714 |
1714 } // namespace compiler | 1715 } // namespace compiler |
1715 } // namespace internal | 1716 } // namespace internal |
1716 } // namespace v8 | 1717 } // namespace v8 |
OLD | NEW |