| Index: src/compiler/js-call-reducer.cc
|
| diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc
|
| index 5e4a8f47a9588ed9edb554e5b4d21517b558c8ad..dfade082168a1594e1211610fe455adbb10ce354 100644
|
| --- a/src/compiler/js-call-reducer.cc
|
| +++ b/src/compiler/js-call-reducer.cc
|
| @@ -506,10 +506,13 @@ Reduction JSCallReducer::ReduceSpreadCall(Node* node, int arity) {
|
| // through here.
|
| if (node->opcode() == IrOpcode::kJSCallWithSpread) {
|
| NodeProperties::ChangeOp(node, javascript()->Call(arity + 1));
|
| + Reduction const r = ReduceJSCall(node);
|
| + return r.Changed() ? r : Changed(node);
|
| } else {
|
| NodeProperties::ChangeOp(node, javascript()->Construct(arity + 2));
|
| + Reduction const r = ReduceJSConstruct(node);
|
| + return r.Changed() ? r : Changed(node);
|
| }
|
| - return Changed(node);
|
| }
|
|
|
| namespace {
|
|
|