Index: src/compiler/graph-reducer.cc |
diff --git a/src/compiler/graph-reducer.cc b/src/compiler/graph-reducer.cc |
index 07e8923b18cd07f634c30e8d8d7c0bf94858efb5..f716b2a571b82816501a1d27da610a05934216ef 100644 |
--- a/src/compiler/graph-reducer.cc |
+++ b/src/compiler/graph-reducer.cc |
@@ -72,10 +72,7 @@ void GraphReducer::ReduceNode(Node* node) { |
// A helper class to reuse the node traversal algorithm. |
struct GraphReducerVisitor FINAL : public NullNodeVisitor { |
explicit GraphReducerVisitor(GraphReducer* reducer) : reducer_(reducer) {} |
- GenericGraphVisit::Control Post(Node* node) { |
- reducer_->ReduceNode(node); |
- return GenericGraphVisit::CONTINUE; |
- } |
+ void Post(Node* node) { reducer_->ReduceNode(node); } |
GraphReducer* reducer_; |
}; |