rustc_mir_transform::simplify

Function make_local_map

source
fn make_local_map<V>(
    local_decls: &mut IndexVec<Local, V>,
    used_locals: &UsedLocals,
) -> IndexVec<Local, Option<Local>>
Expand description

Construct the mapping while swapping out unused stuff out from the vec.