Skip to content

Commit c224af9

Browse files
committed
Auto merge of #153441 - Zalathar:no-liveness, r=<try>
[EXPERIMENT] Cache-on-disk perf experiments for `check_liveness`
2 parents 70d86e3 + 29ffc35 commit c224af9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_middle/src/queries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ 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()) }
1221+
cache_on_disk_if { true }
12221222
}
12231223

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

0 commit comments

Comments
 (0)