| Index: src/compiler/js-call-reducer.cc
|
| diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc
|
| index edb3d7149f7fcab2410ae1d815f7ce66c5ebc8a6..3a88a90c978102d9f08434a7d317ed068601a4ea 100644
|
| --- a/src/compiler/js-call-reducer.cc
|
| +++ b/src/compiler/js-call-reducer.cc
|
| @@ -495,12 +495,12 @@ Reduction JSCallReducer::ReduceSpreadCall(Node* node, int arity) {
|
| parameters->InputAt(i));
|
| }
|
|
|
| + // TODO(turbofan): Collect call counts on spread call/construct and thread it
|
| + // through here.
|
| if (node->opcode() == IrOpcode::kJSCallWithSpread) {
|
| - NodeProperties::ChangeOp(
|
| - node, javascript()->Call(arity + 1, 7, VectorSlotPair()));
|
| + NodeProperties::ChangeOp(node, javascript()->Call(arity + 1));
|
| } else {
|
| - NodeProperties::ChangeOp(
|
| - node, javascript()->Construct(arity + 2, 7, VectorSlotPair()));
|
| + NodeProperties::ChangeOp(node, javascript()->Construct(arity + 2));
|
| }
|
| return Changed(node);
|
| }
|
|
|