Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index ea560eebfd53efc6c35a04e61fb84f22769e9709..ef44b310098862592f3a6170e8646ef50e057ed4 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -51,8 +51,7 @@ class InstructionTester : public HandleAndZoneScope { |
void allocCode() { |
if (schedule.rpo_order()->size() == 0) { |
// Compute the RPO order. |
- Scheduler scheduler(zone(), &graph, &schedule); |
- scheduler.ComputeSpecialRPO(); |
+ Scheduler::ComputeSpecialRPO(&schedule); |
DCHECK(schedule.rpo_order()->size() > 0); |
} |
code = new TestInstrSeq(&linkage, &graph, &schedule); |