summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/retag.core.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.panic-unwind.mir
blob: 70c53bafa3737bb1bbc37cdce9b2551510990703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// MIR for `std::ptr::drop_in_place` after SimplifyCfg-make_shim

fn std::ptr::drop_in_place(_1: *mut Test) -> () {
    let mut _0: ();
    let mut _2: &mut Test;
    let mut _3: &mut Test;
    let mut _4: ();

    bb0: {
        _2 = &mut (*_1);
        Retag([fn entry] _2);
        _3 = &mut (*_2);
        _4 = <Test as Drop>::drop(move _3) -> [return: bb1, unwind continue];
    }

    bb1: {
        return;
    }
}