Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: src/compiler/verifier.cc

Issue 2950773002: [turbofan] Introduce new JSCallWithArrayLike operator. (Closed)
Patch Set: REBASE Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/function-apply.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/function-apply.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698