| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index 587d3ae1c7db470330c2102e763a15ccc025b533..58fc8587348e9a71db411dfd68209cc83a107b11 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -119,8 +119,7 @@ void Inlinee::UnifyReturn(JSGraph* jsgraph) {
|
| }
|
| DCHECK_EQ(IrOpcode::kMerge, final_merge->opcode());
|
|
|
| - int predecessors =
|
| - OperatorProperties::GetControlInputCount(final_merge->op());
|
| + int predecessors = final_merge->op()->ControlInputCount();
|
|
|
| const Operator* op_phi = jsgraph->common()->Phi(kMachAnyTagged, predecessors);
|
| const Operator* op_ephi = jsgraph->common()->EffectPhi(predecessors);
|
| @@ -245,7 +244,7 @@ void Inlinee::InlineAtCall(JSGraph* jsgraph, Node* call) {
|
| int inlinee_context_index = static_cast<int>(total_parameters()) - 1;
|
| // {inliner_inputs} counts JSFunction, Receiver, arguments, but not
|
| // context, effect, control.
|
| - int inliner_inputs = OperatorProperties::GetValueInputCount(call->op());
|
| + int inliner_inputs = call->op()->ValueInputCount();
|
| // Iterate over all uses of the start node.
|
| UseIter iter = start_->uses().begin();
|
| while (iter != start_->uses().end()) {
|
| @@ -308,7 +307,7 @@ class JSCallFunctionAccessor {
|
|
|
| size_t formal_arguments() {
|
| // {value_inputs} includes jsfunction and receiver.
|
| - size_t value_inputs = OperatorProperties::GetValueInputCount(call_->op());
|
| + size_t value_inputs = call_->op()->ValueInputCount();
|
| DCHECK_GE(call_->InputCount(), 2);
|
| return value_inputs - 2;
|
| }
|
| @@ -441,7 +440,7 @@ class JSCallRuntimeAccessor {
|
| }
|
|
|
| size_t formal_arguments() {
|
| - size_t value_inputs = OperatorProperties::GetValueInputCount(call_->op());
|
| + size_t value_inputs = call_->op()->ValueInputCount();
|
| return value_inputs;
|
| }
|
|
|
|
|