summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/retag.{impl#0}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
blob: f32a84e4c791b9238d813cd9a62a8ece9198dd85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// MIR for `<impl at $DIR/retag.rs:12:1: 12:10>::foo_shr` after SimplifyCfg-elaborate-drops

fn <impl at $DIR/retag.rs:12:1: 12:10>::foo_shr(_1: &Test, _2: &i32) -> &i32 {
    debug self => _1;                    // in scope 0 at $DIR/retag.rs:+0:20: +0:25
    debug x => _2;                       // in scope 0 at $DIR/retag.rs:+0:27: +0:28
    let mut _0: &i32;                    // return place in scope 0 at $DIR/retag.rs:+0:42: +0:49

    bb0: {
        Retag([fn entry] _1);            // scope 0 at $DIR/retag.rs:+0:20: +0:25
        Retag([fn entry] _2);            // scope 0 at $DIR/retag.rs:+0:27: +0:28
        _0 = _2;                         // scope 0 at $DIR/retag.rs:+1:9: +1:10
        Retag(_0);                       // scope 0 at $DIR/retag.rs:+1:9: +1:10
        return;                          // scope 0 at $DIR/retag.rs:+2:6: +2:6
    }
}