Struct rustc_mir::util::liveness::LivenessResults [−][src]
pub struct LivenessResults<V: Idx> { pub regular: LivenessResult<V>, pub drop: LivenessResult<V>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A combination of liveness results, used in NLL.
Fields
regular: LivenessResult<V>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Liveness results where a regular use makes a variable X live, but not a drop.
drop: LivenessResult<V>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Liveness results where a drop makes a variable X live, but not a regular use.
Methods
impl<V: Idx> LivenessResults<V>
[src]
impl<V: Idx> LivenessResults<V>
pub fn compute<'tcx>(
mir: &Mir<'tcx>,
map: &impl LiveVariableMap<LiveVar = V>
) -> LivenessResults<V>
[src]
pub fn compute<'tcx>(
mir: &Mir<'tcx>,
map: &impl LiveVariableMap<LiveVar = V>
) -> LivenessResults<V>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl<V> Send for LivenessResults<V>
impl<V> Send for LivenessResults<V>
impl<V> Sync for LivenessResults<V>
impl<V> Sync for LivenessResults<V>