| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index bafc0e7a9da446f4b42575a5e068cdc6dd1d92f4..1906abbb18b85d863d38e42dd4d35e22acc28196 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1377,7 +1377,7 @@ void BytecodeGraphBuilder::VisitNewWithSpread() {
|
| Node* callee = environment()->LookupRegister(callee_reg);
|
|
|
| const Operator* op =
|
| - javascript()->CallConstructWithSpread(static_cast<int>(arg_count) + 2);
|
| + javascript()->ConstructWithSpread(static_cast<int>(arg_count) + 2);
|
| Node* value = ProcessCallNewWithSpreadArguments(op, callee, new_target,
|
| first_arg, arg_count + 2);
|
| environment()->BindAccumulator(value, Environment::kAttachFrameState);
|
| @@ -1426,7 +1426,7 @@ void BytecodeGraphBuilder::VisitNew() {
|
| Node* callee = environment()->LookupRegister(callee_reg);
|
|
|
| float const frequency = ComputeCallFrequency(slot_id);
|
| - const Operator* call = javascript()->CallConstruct(
|
| + const Operator* call = javascript()->Construct(
|
| static_cast<int>(arg_count) + 2, frequency, feedback);
|
| Node* value = ProcessCallNewArguments(call, callee, new_target, first_arg,
|
| arg_count + 2);
|
|
|