]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/retag/rustc.{{impl}}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / mir-opt / retag / rustc.{{impl}}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
CommitLineData
ba9703b0
XL
1// MIR for `<impl at $DIR/retag.rs:11:1: 19:2>::foo_shr` after SimplifyCfg-elaborate-drops
2
3fn <impl at $DIR/retag.rs:11:1: 19:2>::foo_shr(_1: &Test, _2: &i32) -> &i32 {
4 debug self => _1; // in scope 0 at $DIR/retag.rs:16:20: 16:25
5 debug x => _2; // in scope 0 at $DIR/retag.rs:16:27: 16:28
6 let mut _0: &i32; // return place in scope 0 at $DIR/retag.rs:16:42: 16:49
7
8 bb0: {
9 Retag([fn entry] _1); // bb0[0]: scope 0 at $DIR/retag.rs:16:5: 18:6
10 Retag([fn entry] _2); // bb0[1]: scope 0 at $DIR/retag.rs:16:5: 18:6
11 _0 = _2; // bb0[2]: scope 0 at $DIR/retag.rs:17:9: 17:10
12 Retag(_0); // bb0[3]: scope 0 at $DIR/retag.rs:17:9: 17:10
13 return; // bb0[4]: scope 0 at $DIR/retag.rs:18:6: 18:6
14 }
15}