1 // compile-flags: -Zmir-opt-level=0
4 let _fn = std::ptr::drop_in_place::<[String]> as unsafe fn(_);
9 // START rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
13 // let mut _5: *mut std::string::String;
15 // let mut _7: *mut std::string::String;
17 // let mut _9: *mut std::string::String;
18 // let mut _10: *mut std::string::String;
19 // let mut _11: *mut std::string::String;
21 // let mut _13: *mut std::string::String;
23 // let mut _15: *mut [std::string::String];
34 // _5 = &raw mut (*_1)[_4];
35 // _4 = Add(move _4, const 1usize);
36 // drop((*_5)) -> bb4;
40 // switchInt(move _6) -> [false: bb3, otherwise: bb2];
43 // _7 = &raw mut (*_1)[_4];
44 // _4 = Add(move _4, const 1usize);
45 // drop((*_7)) -> [return: bb6, unwind: bb4];
49 // switchInt(move _8) -> [false: bb5, otherwise: bb1];
60 // _9 = Offset(move _9, const 1usize);
61 // drop((*_11)) -> bb10;
65 // switchInt(move _12) -> [false: bb9, otherwise: bb2];
69 // _9 = Offset(move _9, const 1usize);
70 // drop((*_13)) -> [return: bb12, unwind: bb10];
74 // switchInt(move _14) -> [false: bb11, otherwise: bb1];
77 // _15 = &raw mut (*_1);
78 // _9 = move _15 as *mut std::string::String (Misc);
79 // _10 = Offset(_9, move _3);
86 // _2 = SizeOf(std::string::String);
88 // switchInt(move _2) -> [0usize: bb8, otherwise: bb14];
90 // END rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir