Index: src/compiler/structured-machine-assembler.cc |
diff --git a/src/compiler/structured-machine-assembler.cc b/src/compiler/structured-machine-assembler.cc |
index 7d9ab870ae8b59fcd87c91246289b4484389826f..1e46a2306586f73590d6fd38aa872d33f58e38ee 100644 |
--- a/src/compiler/structured-machine-assembler.cc |
+++ b/src/compiler/structured-machine-assembler.cc |
@@ -41,8 +41,7 @@ StructuredMachineAssembler::StructuredMachineAssembler( |
Schedule* StructuredMachineAssembler::Export() { |
// Compute the correct codegen order. |
DCHECK(schedule_->rpo_order()->empty()); |
- Scheduler scheduler(zone(), graph(), schedule_); |
- scheduler.ComputeSpecialRPO(); |
+ Scheduler::ComputeSpecialRPO(schedule_); |
// Invalidate MachineAssembler. |
Schedule* schedule = schedule_; |
schedule_ = NULL; |