|
23 | 23 | StorageLive(_1); // scope 0 at $DIR/inline-into-box-place.rs:8:9: 8:11
|
24 | 24 | _2 = SizeOf(std::vec::Vec<u32>); // scope 2 at $DIR/inline-into-box-place.rs:8:29: 8:43
|
25 | 25 | _3 = AlignOf(std::vec::Vec<u32>); // scope 2 at $DIR/inline-into-box-place.rs:8:29: 8:43
|
26 |
| - _4 = alloc::alloc::exchange_malloc(move _2, move _3) -> bb1; // scope 2 at $DIR/inline-into-box-place.rs:8:29: 8:43 |
| 26 | + _4 = : unsafe fn(usize, usize) -> *mut u8 {alloc::alloc::exchange_malloc}(move _2, move _3) -> bb1; // scope 2 at $DIR/inline-into-box-place.rs:8:29: 8:43 |
27 | 27 | // mir::Constant
|
28 | 28 | // + span: $DIR/inline-into-box-place.rs:8:29: 8:43
|
29 |
| - // + literal: Const { ty: unsafe fn(usize, usize) -> *mut u8 {alloc::alloc::exchange_malloc}, val: Value(Scalar(<ZST>)) } |
| 29 | + // + literal: Const { ty: unsafe fn(usize, usize) -> *mut u8 {alloc::alloc::exchange_malloc}, val: Value(ValTree::Branch(..)) } |
30 | 30 | }
|
31 | 31 |
|
32 | 32 | bb1: {
|
|
36 | 36 | + StorageLive(_7); // scope 0 at $DIR/inline-into-box-place.rs:8:33: 8:43
|
37 | 37 | + _7 = &mut (*_5); // scope 0 at $DIR/inline-into-box-place.rs:8:33: 8:43
|
38 | 38 | + StorageLive(_8); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
39 |
| -+ _8 = const alloc::raw_vec::RawVec::<u32> { ptr: Unique::<u32> { pointer: NonNull::<u32> { pointer: {0x4 as *const u32} }, _marker: PhantomData::<u32> }, cap: 0_usize, alloc: std::alloc::Global }; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
| 39 | ++ _8 = const alloc::raw_vec::RawVec::<u32>::NEW; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
40 | 40 | // mir::Constant
|
41 | 41 | - // + span: $DIR/inline-into-box-place.rs:8:33: 8:41
|
42 | 42 | - // + user_ty: UserType(1)
|
|
46 | 46 | - bb2: {
|
47 | 47 | + // + span: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
48 | 48 | + // + user_ty: UserType(0)
|
49 |
| -+ // + literal: Const { ty: alloc::raw_vec::RawVec<u32>, val: Value(ByRef(..)) } |
| 49 | ++ // + literal: Const { ty: alloc::raw_vec::RawVec<u32>, val: Unevaluated(alloc::raw_vec::RawVec::<T>::NEW, [u32], None) } |
50 | 50 | + Deinit((*_7)); // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
51 | 51 | + ((*_7).0: alloc::raw_vec::RawVec<u32>) = move _8; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
52 | 52 | + ((*_7).1: usize) = const 0_usize; // scope 3 at $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
|
|
71 | 71 | - }
|
72 | 72 | -
|
73 | 73 | - bb5 (cleanup): {
|
74 |
| -- _6 = alloc::alloc::box_free::<Vec<u32>, std::alloc::Global>(move (_5.0: std::ptr::Unique<std::vec::Vec<u32>>), move (_5.1: std::alloc::Global)) -> bb4; // scope 0 at $DIR/inline-into-box-place.rs:8:42: 8:43 |
| 74 | +- _6 = : unsafe fn(Unique::<Vec<u32>>, std::alloc::Global) {alloc::alloc::box_free::<Vec<u32>, std::alloc::Global>}(move (_5.0: std::ptr::Unique<std::vec::Vec<u32>>), move (_5.1: std::alloc::Global)) -> bb4; // scope 0 at $DIR/inline-into-box-place.rs:8:42: 8:43 |
75 | 75 | - // mir::Constant
|
76 | 76 | - // + span: $DIR/inline-into-box-place.rs:8:42: 8:43
|
77 |
| -- // + literal: Const { ty: unsafe fn(Unique<Vec<u32>>, std::alloc::Global) {alloc::alloc::box_free::<Vec<u32>, std::alloc::Global>}, val: Value(Scalar(<ZST>)) } |
| 77 | +- // + literal: Const { ty: unsafe fn(Unique<Vec<u32>>, std::alloc::Global) {alloc::alloc::box_free::<Vec<u32>, std::alloc::Global>}, val: Value(ValTree::Branch(..)) } |
78 | 78 | }
|
79 | 79 | }
|
80 | 80 |
|
0 commit comments