Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 190661f2bb8b2db7c91e4165ab3673659fb9a096..fa0ff173b25703d3994b2d428160c953ee14c269 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -222,9 +222,8 @@ Handle<Code> Pipeline::GenerateCode() { |
Schedule* Pipeline::ComputeSchedule(Graph* graph) { |
- Scheduler scheduler(zone()); |
PhaseStats schedule_stats(info(), PhaseStats::CODEGEN, "scheduling"); |
- return scheduler.NewSchedule(graph); |
+ return Scheduler::ComputeSchedule(graph); |
} |