about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/mem_replace.manual_replace.PreCodegen.after.panic-unwind.mir
blob: c10f3c429627a44c45610e79ace315fbe42a4150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// MIR for `manual_replace` after PreCodegen

fn manual_replace(_1: &mut u32, _2: u32) -> u32 {
    debug r => _1;
    debug v => _2;
    let mut _0: u32;
    scope 1 {
        debug temp => _0;
    }

    bb0: {
        _0 = copy (*_1);
        (*_1) = copy _2;
        return;
    }
}