Skip to content

Commit d9b7a67

Browse files
committed
Remove cache-on-disk from query check_liveness
This is the only query with a cache-on-disk condition other than `true` or is-local. Removing its cache-on-disk modifier entirely appears to not cause any serious perf regressions.
1 parent f824853 commit d9b7a67

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

compiler/rustc_middle/src/queries.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,6 @@ rustc_queries! {
12181218
query check_liveness(key: LocalDefId) -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
12191219
arena_cache
12201220
desc { "checking liveness of variables in `{}`", tcx.def_path_str(key.to_def_id()) }
1221-
cache_on_disk_if { tcx.is_typeck_child(key.to_def_id()) }
12221221
}
12231222

12241223
/// Return the live symbols in the crate for dead code check.

0 commit comments

Comments
 (0)