rustc_mir_transform::ref_prop

Function compute_replacement

Source
fn compute_replacement<'tcx>(
    tcx: TyCtxt<'tcx>,
    body: &Body<'tcx>,
    ssa: &SsaLocals,
) -> Replacer<'tcx>
Expand description

For each local, save the place corresponding to *local.