Module rustc_mir::transform::remove_noop_landing_pads[][src]

🔬 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?

Re-exports

use rustc::ty::TyCtxt;
use rustc::mir::*;
use rustc_data_structures::bitvec::BitVector;
use rustc_data_structures::indexed_vec::Idx;
use transform::MirPass;
use transform::MirSource;
use util::patch::MirPatch;

Structs

RemoveNoopLandingPads [
Experimental
]

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.

Functions

remove_noop_landing_pads [
Experimental
]