| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index d22746d9ecbfa8378621b4eef81d13f8da7c09cf..86edfa66dac95244d271ca4b2c47f3fb3cea10c1 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1338,6 +1338,16 @@ void BytecodeGraphBuilder::VisitCallRuntimeForPair() {
|
| Environment::kAttachFrameState);
|
| }
|
|
|
| +void BytecodeGraphBuilder::VisitCallWithSpread() {
|
| + PrepareEagerCheckpoint();
|
| + interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(0);
|
| + size_t arg_count = bytecode_iterator().GetRegisterCountOperand(1);
|
| + const Operator* call =
|
| + javascript()->CallRuntime(Runtime::kNewWithSpread, arg_count);
|
| + Node* value = ProcessCallRuntimeArguments(call, first_arg, arg_count);
|
| + environment()->BindAccumulator(value, Environment::kAttachFrameState);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::VisitNewWithSpread() {
|
| PrepareEagerCheckpoint();
|
| interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(0);
|
|
|