Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 7b7bac8dd856d2a66c46311506a7cf64b30cc8b4..5b2c8805aa94dcba702b7fccdea7e0f5a996c032 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1353,6 +1353,16 @@ Node* BytecodeGraphBuilder::ProcessCallNewWithSpreadArguments( |
return value; |
} |
+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::kCallWithSpread, arg_count); |
+ Node* value = ProcessCallRuntimeArguments(call, first_arg, arg_count); |
+ environment()->BindAccumulator(value, Environment::kAttachFrameState); |
+} |
+ |
void BytecodeGraphBuilder::VisitNewWithSpread() { |
PrepareEagerCheckpoint(); |
interpreter::Register callee_reg = bytecode_iterator().GetRegisterOperand(0); |