Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index 17b55237f67fed13373de5e70a4ff5a1301f6625..f4c9e3f1a91d5765ea0c740ef4a640dcad787fd9 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -34,8 +34,7 @@ RawMachineAssembler::RawMachineAssembler( |
Schedule* RawMachineAssembler::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; |