| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index 79a3377462883504f9df2589df1b61ea031f48a8..a7eabc78cfc78340ce07ed46eaac89b7f19a2719 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -528,8 +528,7 @@ void JSGenericLowering::LowerJSConstruct(Node* node) {
|
| }
|
|
|
| void JSGenericLowering::LowerJSConstructWithSpread(Node* node) {
|
| - ConstructWithSpreadParameters const& p =
|
| - ConstructWithSpreadParametersOf(node->op());
|
| + SpreadWithArityParameters const& p = SpreadWithArityParametersOf(node->op());
|
| int const arg_count = static_cast<int>(p.arity() - 2);
|
| CallDescriptor::Flags flags = FrameStateFlagForCall(node);
|
| Callable callable = CodeFactory::ConstructWithSpread(isolate());
|
| @@ -582,7 +581,7 @@ void JSGenericLowering::LowerJSCall(Node* node) {
|
| }
|
|
|
| void JSGenericLowering::LowerJSCallWithSpread(Node* node) {
|
| - CallWithSpreadParameters const& p = CallWithSpreadParametersOf(node->op());
|
| + SpreadWithArityParameters const& p = SpreadWithArityParametersOf(node->op());
|
| int const arg_count = static_cast<int>(p.arity() - 2);
|
| Callable callable = CodeFactory::CallWithSpread(isolate());
|
| CallDescriptor::Flags flags = FrameStateFlagForCall(node);
|
|
|