})
.open(self.session())
});
- DepGraph::new(prev_graph, prev_work_products)
+
+ rustc_incremental::build_dep_graph(
+ self.session(),
+ prev_graph,
+ prev_work_products,
+ )
+ .unwrap_or_else(DepGraph::new_disabled)
}
})
})
if self.session().opts.debugging_opts.query_stats {
gcx.enter(rustc_query_impl::print_stats);
}
+
+ self.session()
+ .time("serialize_dep_graph", || gcx.enter(rustc_incremental::save_dep_graph));
}
_timer = Some(self.session().timer("free_global_ctxt"));