]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/retag.core.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / mir-opt / retag.core.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
1 // MIR for `drop_in_place` after SimplifyCfg-make_shim
2
3 fn drop_in_place(_1: *mut Test) -> () {
4 let mut _0: (); // return place in scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
5 let mut _2: &mut Test; // in scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
6 let mut _3: (); // in scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
7
8 bb0: {
9 Retag([raw] _1); // scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
10 _2 = &mut (*_1); // scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
11 _3 = <Test as Drop>::drop(move _2) -> bb1; // scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
12 // mir::Constant
13 // + span: $SRC_DIR/core/src/ptr/mod.rs:LL:COL
14 // + literal: Const { ty: for<'r> fn(&'r mut Test) {<Test as std::ops::Drop>::drop}, val: Value(Scalar(<ZST>)) }
15 }
16
17 bb1: {
18 return; // scope 0 at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
19 }
20 }