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 03b4b225555634f62793b5c7171e1f8d14897969..03a7887671bb3eb3fd82de9b7bd84d76c755ace6 100644 |
--- a/test/cctest/compiler/simplified-graph-builder.cc |
+++ b/test/cctest/compiler/simplified-graph-builder.cc |
@@ -76,10 +76,8 @@ Node* SimplifiedGraphBuilder::MakeNode(const Operator* op, |
if (has_effect) { |
effect_ = result; |
} |
- if (OperatorProperties::HasControlOutput(result->op())) { |
- // This graph builder does not support control flow. |
- UNREACHABLE(); |
- } |
+ // This graph builder does not support control flow. |
+ CHECK_EQ(0, op->ControlOutputCount()); |
} |
return result; |