MIR dataflow: Rename function to always_storage_live_locals
Related to #99021.
This commit is contained in:
parent
20dd693013
commit
8a1c1ec8b2
4 changed files with 7 additions and 7 deletions
|
@ -14,7 +14,7 @@ use rustc_middle::mir::{
|
|||
use rustc_middle::ty::fold::BottomUpFolder;
|
||||
use rustc_middle::ty::{self, InstanceDef, ParamEnv, Ty, TyCtxt, TypeFoldable, TypeVisitable};
|
||||
use rustc_mir_dataflow::impls::MaybeStorageLive;
|
||||
use rustc_mir_dataflow::storage::always_live_locals;
|
||||
use rustc_mir_dataflow::storage::always_storage_live_locals;
|
||||
use rustc_mir_dataflow::{Analysis, ResultsCursor};
|
||||
use rustc_target::abi::{Size, VariantIdx};
|
||||
|
||||
|
@ -48,7 +48,7 @@ impl<'tcx> MirPass<'tcx> for Validator {
|
|||
let param_env = tcx.param_env(def_id);
|
||||
let mir_phase = self.mir_phase;
|
||||
|
||||
let always_live_locals = always_live_locals(body);
|
||||
let always_live_locals = always_storage_live_locals(body);
|
||||
let storage_liveness = MaybeStorageLive::new(always_live_locals)
|
||||
.into_engine(tcx, body)
|
||||
.iterate_to_fixpoint()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue