Auto merge of #92169 - In-line:no-cache-selector-lrc, r=Mark-Simulacrum
Remove ArenaCacheSelector for visible_parent_map query ( + LRC)
This commit is contained in:
commit
124555a69e
2 changed files with 2 additions and 3 deletions
|
@ -352,7 +352,7 @@ pub(in crate::rmeta) fn provide(providers: &mut Providers) {
|
|||
visible_parent_map.entry(child).or_insert(parent);
|
||||
}
|
||||
|
||||
visible_parent_map
|
||||
Lrc::new(visible_parent_map)
|
||||
},
|
||||
|
||||
dependency_formats: |tcx, ()| Lrc::new(crate::dependency_format::calculate(tcx)),
|
||||
|
|
|
@ -1569,8 +1569,7 @@ rustc_queries! {
|
|||
desc { "calculating the missing lang items in a crate" }
|
||||
separate_provide_extern
|
||||
}
|
||||
query visible_parent_map(_: ()) -> DefIdMap<DefId> {
|
||||
storage(ArenaCacheSelector<'tcx>)
|
||||
query visible_parent_map(_: ()) -> Lrc<DefIdMap<DefId>> {
|
||||
desc { "calculating the visible parent map" }
|
||||
}
|
||||
query trimmed_def_paths(_: ()) -> FxHashMap<DefId, Symbol> {
|
||||
|
|
Loading…
Add table
Reference in a new issue