Invoke callbacks from rustc_middle.
This commit is contained in:
parent
b09de95fab
commit
602d3cbce3
9 changed files with 42 additions and 47 deletions
|
@ -219,7 +219,7 @@ impl<'sess> rustc_middle::ty::OnDiskCache<'sess> for OnDiskCache<'sess> {
|
|||
// Do this *before* we clone 'latest_foreign_def_path_hashes', since
|
||||
// loading existing queries may cause us to create new DepNodes, which
|
||||
// may in turn end up invoking `store_foreign_def_id_hash`
|
||||
tcx.dep_graph.exec_cache_promotions(QueryCtxt::from_tcx(tcx));
|
||||
tcx.dep_graph.exec_cache_promotions(tcx);
|
||||
|
||||
*self.serialized_data.write() = None;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue