Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index 4bab8f5648531cf47b5515657801fc23c7bc0887..1599152f95f47dfa557882b735e0d0357044a0c0 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -1012,7 +1012,7 @@ class PrepareUsesVisitor : public NullNodeVisitor { |
explicit PrepareUsesVisitor(Scheduler* scheduler) |
: scheduler_(scheduler), schedule_(scheduler->schedule_) {} |
- GenericGraphVisit::Control Pre(Node* node) { |
+ void Pre(Node* node) { |
if (scheduler_->GetPlacement(node) == Scheduler::kFixed) { |
// Fixed nodes are always roots for schedule late. |
scheduler_->schedule_root_nodes_.push_back(node); |
@@ -1029,8 +1029,6 @@ class PrepareUsesVisitor : public NullNodeVisitor { |
schedule_->AddNode(block, node); |
} |
} |
- |
- return GenericGraphVisit::CONTINUE; |
} |
void PostEdge(Node* from, int index, Node* to) { |