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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 | 714 |
715 case IrOpcode::kJSConstructForwardVarargs: | 715 case IrOpcode::kJSConstructForwardVarargs: |
716 case IrOpcode::kJSConstruct: | 716 case IrOpcode::kJSConstruct: |
717 case IrOpcode::kJSConstructWithSpread: | 717 case IrOpcode::kJSConstructWithSpread: |
718 case IrOpcode::kJSConvertReceiver: | 718 case IrOpcode::kJSConvertReceiver: |
719 // Type is Receiver. | 719 // Type is Receiver. |
720 CheckTypeIs(node, Type::Receiver()); | 720 CheckTypeIs(node, Type::Receiver()); |
721 break; | 721 break; |
722 case IrOpcode::kJSCallForwardVarargs: | 722 case IrOpcode::kJSCallForwardVarargs: |
723 case IrOpcode::kJSCall: | 723 case IrOpcode::kJSCall: |
| 724 case IrOpcode::kJSCallWithArrayLike: |
724 case IrOpcode::kJSCallWithSpread: | 725 case IrOpcode::kJSCallWithSpread: |
725 case IrOpcode::kJSCallRuntime: | 726 case IrOpcode::kJSCallRuntime: |
726 // Type can be anything. | 727 // Type can be anything. |
727 CheckTypeIs(node, Type::Any()); | 728 CheckTypeIs(node, Type::Any()); |
728 break; | 729 break; |
729 | 730 |
730 case IrOpcode::kJSForInPrepare: { | 731 case IrOpcode::kJSForInPrepare: { |
731 // TODO(bmeurer): What are the constraints on thse? | 732 // TODO(bmeurer): What are the constraints on thse? |
732 CheckTypeIs(node, Type::Any()); | 733 CheckTypeIs(node, Type::Any()); |
733 break; | 734 break; |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 replacement->op()->EffectOutputCount() > 0); | 1791 replacement->op()->EffectOutputCount() > 0); |
1791 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1792 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1792 replacement->opcode() == IrOpcode::kFrameState); | 1793 replacement->opcode() == IrOpcode::kFrameState); |
1793 } | 1794 } |
1794 | 1795 |
1795 #endif // DEBUG | 1796 #endif // DEBUG |
1796 | 1797 |
1797 } // namespace compiler | 1798 } // namespace compiler |
1798 } // namespace internal | 1799 } // namespace internal |
1799 } // namespace v8 | 1800 } // namespace v8 |
OLD | NEW |