Index: src/compiler/js-builtin-reducer.cc |
diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc |
index ec73742fd241d39ad9ab65adab625832d99fbf44..b40288d5a92eb74f0fdf2eab2a558ee00ed0a7e6 100644 |
--- a/src/compiler/js-builtin-reducer.cc |
+++ b/src/compiler/js-builtin-reducer.cc |
@@ -80,7 +80,7 @@ class JSCallReduction { |
int GetJSCallArity() { |
DCHECK_EQ(IrOpcode::kJSCallFunction, node_->opcode()); |
// Skip first (i.e. callee) and second (i.e. receiver) operand. |
- return OperatorProperties::GetValueInputCount(node_->op()) - 2; |
+ return node_->op()->ValueInputCount() - 2; |
} |
Node* GetJSCallInput(int index) { |