Struct rustc_mir::transform::remove_noop_landing_pads::RemoveNoopLandingPads
[−]
[src]
pub struct RemoveNoopLandingPads;
🔬 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 pass that removes no-op landing pads and replaces jumps to them with
None. This is important because otherwise LLVM generates terrible
code for these.
Trait Implementations
impl MirPass for RemoveNoopLandingPads[src]
impl MirPass for RemoveNoopLandingPadsfn run_pass<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_src: MirSource,
mir: &mut Mir<'tcx>
)[src]
fn run_pass<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_src: MirSource,
mir: &mut Mir<'tcx>
)🔬 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?
fn name<'a>(&'a self) -> Cow<'a, str>[src]
fn name<'a>(&'a self) -> Cow<'a, str>🔬 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 Send for RemoveNoopLandingPads
impl Send for RemoveNoopLandingPadsimpl Sync for RemoveNoopLandingPads
impl Sync for RemoveNoopLandingPads