Index: src/compiler/js-call-reducer.cc |
diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc |
index 162acbb3ec56f226e8ed904274234b1bd1ba1e8a..2fb321e26db5886dc4471c780eee75c11d61fbc5 100644 |
--- a/src/compiler/js-call-reducer.cc |
+++ b/src/compiler/js-call-reducer.cc |
@@ -664,7 +664,7 @@ Reduction JSCallReducer::ReduceJSCall(Node* node) { |
Reduction JSCallReducer::ReduceJSCallWithSpread(Node* node) { |
DCHECK_EQ(IrOpcode::kJSCallWithSpread, node->opcode()); |
- CallWithSpreadParameters const& p = CallWithSpreadParametersOf(node->op()); |
+ SpreadWithArityParameters const& p = SpreadWithArityParametersOf(node->op()); |
DCHECK_LE(3u, p.arity()); |
int arity = static_cast<int>(p.arity() - 1); |
@@ -791,8 +791,7 @@ Reduction JSCallReducer::ReduceJSConstruct(Node* node) { |
Reduction JSCallReducer::ReduceJSConstructWithSpread(Node* node) { |
DCHECK_EQ(IrOpcode::kJSConstructWithSpread, node->opcode()); |
- ConstructWithSpreadParameters const& p = |
- ConstructWithSpreadParametersOf(node->op()); |
+ SpreadWithArityParameters const& p = SpreadWithArityParametersOf(node->op()); |
DCHECK_LE(3u, p.arity()); |
int arity = static_cast<int>(p.arity() - 2); |