Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index b06076457e5e5ae723655486a1fde289dc0e3147..89b05d0c079c735cca34c10c9ceb5f4b09b911b2 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -306,7 +306,7 @@ class ControlReducerImpl { |
// Reducer implementation: perform reductions on a node. |
//=========================================================================== |
Node* ReduceNode(Node* node) { |
- if (OperatorProperties::GetControlInputCount(node->op()) == 1) { |
+ if (node->op()->ControlInputCount() == 1) { |
// If a node has only one control input and it is dead, replace with dead. |
Node* control = NodeProperties::GetControlInput(node); |
if (control->opcode() == IrOpcode::kDead) { |