Index: test/cctest/compiler/simplified-graph-builder.cc |
diff --git a/test/cctest/compiler/simplified-graph-builder.cc b/test/cctest/compiler/simplified-graph-builder.cc |
index 03a7887671bb3eb3fd82de9b7bd84d76c755ace6..8d6844f28e9dcb96b63c0ad2cc04e209af16031a 100644 |
--- a/test/cctest/compiler/simplified-graph-builder.cc |
+++ b/test/cctest/compiler/simplified-graph-builder.cc |
@@ -50,11 +50,11 @@ Node* SimplifiedGraphBuilder::MakeNode(const Operator* op, |
DCHECK(!OperatorProperties::HasContextInput(op)); |
DCHECK(!OperatorProperties::HasFrameStateInput(op)); |
- bool has_control = OperatorProperties::GetControlInputCount(op) == 1; |
- bool has_effect = OperatorProperties::GetEffectInputCount(op) == 1; |
+ bool has_control = op->ControlInputCount() == 1; |
+ bool has_effect = op->EffectInputCount() == 1; |
- DCHECK(OperatorProperties::GetControlInputCount(op) < 2); |
- DCHECK(OperatorProperties::GetEffectInputCount(op) < 2); |
+ DCHECK(op->ControlInputCount() < 2); |
+ DCHECK(op->EffectInputCount() < 2); |
Node* result = NULL; |
if (!has_control && !has_effect) { |