Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 5832905b9f64842a7f05800c899b539546f914b7..ad00f984de541dfe77349d2b73382cfbf82301c3 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -496,8 +496,9 @@ Handle<Code> Pipeline::GenerateCode() { |
void Pipeline::ComputeSchedule(PipelineData* data) { |
PhaseScope phase_scope(data->pipeline_statistics(), "scheduling"); |
+ ZonePool::Scope zone_scope(data->zone_pool()); |
Schedule* schedule = |
- Scheduler::ComputeSchedule(data->zone_pool(), data->graph()); |
+ Scheduler::ComputeSchedule(zone_scope.zone(), data->graph()); |
TraceSchedule(schedule); |
if (VerifyGraphs()) ScheduleVerifier::Run(schedule); |
data->set_schedule(schedule); |