1
Fork 0

Remove RawDefId tracking infrastructure from incr. comp. framework.

This infrastructure is obsolete now with the new encoding scheme for
the DefPathHash->DefIndex maps in crate metadata.
This commit is contained in:
Michael Woerister 2021-07-20 14:03:20 +02:00
parent 960893c50a
commit 5445715c20
7 changed files with 6 additions and 134 deletions

View file

@ -92,12 +92,7 @@ impl<'tcx> DepContext for TyCtxt<'tcx> {
type DepKind = DepKind;
type StableHashingContext = StableHashingContext<'tcx>;
fn register_reused_dep_node(&self, dep_node: &DepNode) {
if let Some(cache) = self.on_disk_cache.as_ref() {
cache.register_reused_dep_node(*self, dep_node)
}
}
#[inline]
fn create_stable_hashing_context(&self) -> Self::StableHashingContext {
TyCtxt::create_stable_hashing_context(*self)
}