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

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

Issue 2662263002: [turbo] Rename CallConstruct* operators to Construct*. (Closed)
Patch Set: Created 3 years, 10 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') | src/interpreter/interpreter.cc » ('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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 case IrOpcode::kJSCreateScriptContext: { 668 case IrOpcode::kJSCreateScriptContext: {
669 // Type is Context, and operand is Internal. 669 // Type is Context, and operand is Internal.
670 Node* context = NodeProperties::GetContextInput(node); 670 Node* context = NodeProperties::GetContextInput(node);
671 // TODO(bmeurer): This should say CheckTypeIs, but we don't have type 671 // TODO(bmeurer): This should say CheckTypeIs, but we don't have type
672 // OtherInternal on certain contexts, i.e. those from OsrValue inputs. 672 // OtherInternal on certain contexts, i.e. those from OsrValue inputs.
673 CheckTypeMaybe(context, Type::OtherInternal()); 673 CheckTypeMaybe(context, Type::OtherInternal());
674 CheckTypeIs(node, Type::OtherInternal()); 674 CheckTypeIs(node, Type::OtherInternal());
675 break; 675 break;
676 } 676 }
677 677
678 case IrOpcode::kJSCallConstruct: 678 case IrOpcode::kJSConstruct:
679 case IrOpcode::kJSCallConstructWithSpread: 679 case IrOpcode::kJSConstructWithSpread:
680 case IrOpcode::kJSConvertReceiver: 680 case IrOpcode::kJSConvertReceiver:
681 // Type is Receiver. 681 // Type is Receiver.
682 CheckTypeIs(node, Type::Receiver()); 682 CheckTypeIs(node, Type::Receiver());
683 break; 683 break;
684 case IrOpcode::kJSCallForwardVarargs: 684 case IrOpcode::kJSCallForwardVarargs:
685 case IrOpcode::kJSCallFunction: 685 case IrOpcode::kJSCallFunction:
686 case IrOpcode::kJSCallFunctionWithSpread: 686 case IrOpcode::kJSCallFunctionWithSpread:
687 case IrOpcode::kJSCallRuntime: 687 case IrOpcode::kJSCallRuntime:
688 // Type can be anything. 688 // Type can be anything.
689 CheckTypeIs(node, Type::Any()); 689 CheckTypeIs(node, Type::Any());
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 replacement->op()->EffectOutputCount() > 0); 1699 replacement->op()->EffectOutputCount() > 0);
1700 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1700 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1701 replacement->opcode() == IrOpcode::kFrameState); 1701 replacement->opcode() == IrOpcode::kFrameState);
1702 } 1702 }
1703 1703
1704 #endif // DEBUG 1704 #endif // DEBUG
1705 1705
1706 } // namespace compiler 1706 } // namespace compiler
1707 } // namespace internal 1707 } // namespace internal
1708 } // namespace v8 1708 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698