| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index bc36c64f27c8a55b39699654b4c4dfed1635106a..b813b295cd14b1d2b36ac00f47f0a8b5b5480ada 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -548,6 +548,12 @@ void JSGenericLowering::LowerJSCallFunction(Node* node) {
|
| NodeProperties::ChangeOp(node, common()->Call(desc));
|
| }
|
|
|
| +void JSGenericLowering::LowerJSCallFunctionWithSpread(Node* node) {
|
| + CallFunctionWithSpreadParameters const& p =
|
| + CallFunctionWithSpreadParametersOf(node->op());
|
| + ReplaceWithRuntimeCall(node, Runtime::kCallWithSpread,
|
| + static_cast<int>(p.arity()));
|
| +}
|
|
|
| void JSGenericLowering::LowerJSCallRuntime(Node* node) {
|
| const CallRuntimeParameters& p = CallRuntimeParametersOf(node->op());
|
|
|