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

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

Issue 2639233002: [Turbofan] Add CallFunctionWithSpread JSOperator. (Closed)
Patch Set: Set CL dependency to bytecode CL Created 3 years, 11 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') | no next file » | 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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 break; 674 break;
675 } 675 }
676 676
677 case IrOpcode::kJSCallConstruct: 677 case IrOpcode::kJSCallConstruct:
678 case IrOpcode::kJSCallConstructWithSpread: 678 case IrOpcode::kJSCallConstructWithSpread:
679 case IrOpcode::kJSConvertReceiver: 679 case IrOpcode::kJSConvertReceiver:
680 // Type is Receiver. 680 // Type is Receiver.
681 CheckTypeIs(node, Type::Receiver()); 681 CheckTypeIs(node, Type::Receiver());
682 break; 682 break;
683 case IrOpcode::kJSCallFunction: 683 case IrOpcode::kJSCallFunction:
684 case IrOpcode::kJSCallFunctionWithSpread:
684 case IrOpcode::kJSCallRuntime: 685 case IrOpcode::kJSCallRuntime:
685 // Type can be anything. 686 // Type can be anything.
686 CheckTypeIs(node, Type::Any()); 687 CheckTypeIs(node, Type::Any());
687 break; 688 break;
688 689
689 case IrOpcode::kJSForInPrepare: { 690 case IrOpcode::kJSForInPrepare: {
690 // TODO(bmeurer): What are the constraints on thse? 691 // TODO(bmeurer): What are the constraints on thse?
691 CheckTypeIs(node, Type::Any()); 692 CheckTypeIs(node, Type::Any());
692 break; 693 break;
693 } 694 }
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 replacement->op()->EffectOutputCount() > 0); 1688 replacement->op()->EffectOutputCount() > 0);
1688 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1689 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1689 replacement->opcode() == IrOpcode::kFrameState); 1690 replacement->opcode() == IrOpcode::kFrameState);
1690 } 1691 }
1691 1692
1692 #endif // DEBUG 1693 #endif // DEBUG
1693 1694
1694 } // namespace compiler 1695 } // namespace compiler
1695 } // namespace internal 1696 } // namespace internal
1696 } // namespace v8 1697 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698