Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index 3e2b857f39abb00e5370ad9cf1e6d51e7feba870..041e6d89fe0c46ff0c00926f4ea37f1e6d433062 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -52,8 +52,7 @@ class InstructionTester : public HandleAndZoneScope { |
void allocCode() { |
if (schedule.rpo_order()->size() == 0) { |
// Compute the RPO order. |
- ZonePool zone_pool(isolate); |
- Scheduler::ComputeSpecialRPO(&zone_pool, &schedule); |
+ Scheduler::ComputeSpecialRPO(main_zone(), &schedule); |
DCHECK(schedule.rpo_order()->size() > 0); |
} |
InstructionBlocks* instruction_blocks = |