| 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 } | 653 } |
| 654 case IrOpcode::kJSForInNext: { | 654 case IrOpcode::kJSForInNext: { |
| 655 CheckTypeIs(node, Type::Union(Type::Name(), Type::Undefined(), zone)); | 655 CheckTypeIs(node, Type::Union(Type::Name(), Type::Undefined(), zone)); |
| 656 break; | 656 break; |
| 657 } | 657 } |
| 658 | 658 |
| 659 case IrOpcode::kJSLoadMessage: | 659 case IrOpcode::kJSLoadMessage: |
| 660 case IrOpcode::kJSStoreMessage: | 660 case IrOpcode::kJSStoreMessage: |
| 661 break; | 661 break; |
| 662 | 662 |
| 663 case IrOpcode::kJSLoadModule: |
| 664 CheckTypeIs(node, Type::Any()); |
| 665 break; |
| 666 case IrOpcode::kJSStoreModule: |
| 667 CheckNotTyped(node); |
| 668 break; |
| 669 |
| 663 case IrOpcode::kJSGeneratorStore: | 670 case IrOpcode::kJSGeneratorStore: |
| 664 CheckNotTyped(node); | 671 CheckNotTyped(node); |
| 665 break; | 672 break; |
| 666 | 673 |
| 667 case IrOpcode::kJSGeneratorRestoreContinuation: | 674 case IrOpcode::kJSGeneratorRestoreContinuation: |
| 668 CheckTypeIs(node, Type::SignedSmall()); | 675 CheckTypeIs(node, Type::SignedSmall()); |
| 669 break; | 676 break; |
| 670 | 677 |
| 671 case IrOpcode::kJSGeneratorRestoreRegister: | 678 case IrOpcode::kJSGeneratorRestoreRegister: |
| 672 CheckTypeIs(node, Type::Any()); | 679 CheckTypeIs(node, Type::Any()); |
| (...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 replacement->op()->EffectOutputCount() > 0); | 1628 replacement->op()->EffectOutputCount() > 0); |
| 1622 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1629 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1623 replacement->opcode() == IrOpcode::kFrameState); | 1630 replacement->opcode() == IrOpcode::kFrameState); |
| 1624 } | 1631 } |
| 1625 | 1632 |
| 1626 #endif // DEBUG | 1633 #endif // DEBUG |
| 1627 | 1634 |
| 1628 } // namespace compiler | 1635 } // namespace compiler |
| 1629 } // namespace internal | 1636 } // namespace internal |
| 1630 } // namespace v8 | 1637 } // namespace v8 |
| OLD | NEW |