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