| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 5d5fc899f21d3efebf9c0a26201b4ce3b666c79b..5bf47ec00b03fde1215417dbf56f215c6185ab09 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -1888,7 +1888,7 @@ void ReduceBuiltin(Isolate* isolate, JSGraph* jsgraph, Node* node,
|
| // The logic contained here is mirrored in Builtins::Generate_Adaptor.
|
| // Keep these in sync.
|
|
|
| - const bool is_construct = (node->opcode() == IrOpcode::kJSCallConstruct);
|
| + const bool is_construct = (node->opcode() == IrOpcode::kJSConstruct);
|
|
|
| DCHECK(Builtins::HasCppImplementation(builtin_index));
|
| DCHECK_EQ(0, flags & CallDescriptor::kSupportsTailCalls);
|
| @@ -1948,9 +1948,9 @@ bool NeedsArgumentAdaptorFrame(Handle<SharedFunctionInfo> shared, int arity) {
|
|
|
| } // namespace
|
|
|
| -Reduction JSTypedLowering::ReduceJSCallConstruct(Node* node) {
|
| - DCHECK_EQ(IrOpcode::kJSCallConstruct, node->opcode());
|
| - CallConstructParameters const& p = CallConstructParametersOf(node->op());
|
| +Reduction JSTypedLowering::ReduceJSConstruct(Node* node) {
|
| + DCHECK_EQ(IrOpcode::kJSConstruct, node->opcode());
|
| + ConstructParameters const& p = ConstructParametersOf(node->op());
|
| DCHECK_LE(2u, p.arity());
|
| int const arity = static_cast<int>(p.arity() - 2);
|
| Node* target = NodeProperties::GetValueInput(node, 0);
|
| @@ -2412,8 +2412,8 @@ Reduction JSTypedLowering::Reduce(Node* node) {
|
| return ReduceJSStoreModule(node);
|
| case IrOpcode::kJSConvertReceiver:
|
| return ReduceJSConvertReceiver(node);
|
| - case IrOpcode::kJSCallConstruct:
|
| - return ReduceJSCallConstruct(node);
|
| + case IrOpcode::kJSConstruct:
|
| + return ReduceJSConstruct(node);
|
| case IrOpcode::kJSCallForwardVarargs:
|
| return ReduceJSCallForwardVarargs(node);
|
| case IrOpcode::kJSCallFunction:
|
|
|