|
72 | 72 |
|
73 | 73 | bb2: {
|
74 | 74 | - _10 = _6 as *mut () (PtrToPtr);
|
75 |
| -+ _10 = const {0x1 as *mut [bool; 0]} as *mut () (PtrToPtr); |
76 |
| - _9 = NonNull::<T>::new_unchecked::precondition_check(move _10) -> [return: bb3, unwind unreachable]; |
| 75 | +- _9 = NonNull::<T>::new_unchecked::precondition_check(move _10) -> [return: bb3, unwind unreachable]; |
| 76 | ++ _10 = const {0x1 as *mut ()}; |
| 77 | ++ _9 = NonNull::<T>::new_unchecked::precondition_check(const {0x1 as *mut ()}) -> [return: bb3, unwind unreachable]; |
77 | 78 | }
|
78 | 79 |
|
79 | 80 | bb3: {
|
80 | 81 | StorageDead(_8);
|
81 | 82 | - _11 = _6 as *const [bool; 0] (PointerCoercion(MutToConstPointer));
|
82 |
| -+ _11 = const {0x1 as *mut [bool; 0]} as *const [bool; 0] (PointerCoercion(MutToConstPointer)); |
83 |
| - _5 = NonNull::<[bool; 0]> { pointer: _11 }; |
| 83 | +- _5 = NonNull::<[bool; 0]> { pointer: _11 }; |
| 84 | ++ _11 = const {0x1 as *const [bool; 0]}; |
| 85 | ++ _5 = const NonNull::<[bool; 0]> {{ pointer: {0x1 as *const [bool; 0]} }}; |
84 | 86 | StorageDead(_11);
|
85 | 87 | StorageDead(_10);
|
86 | 88 | StorageDead(_6);
|
87 |
| - _4 = Unique::<[bool; 0]> { pointer: move _5, _marker: const PhantomData::<[bool; 0]> }; |
| 89 | +- _4 = Unique::<[bool; 0]> { pointer: move _5, _marker: const PhantomData::<[bool; 0]> }; |
| 90 | ++ _4 = const Unique::<[bool; 0]> {{ pointer: NonNull::<[bool; 0]> {{ pointer: {0x1 as *const [bool; 0]} }}, _marker: PhantomData::<[bool; 0]> }}; |
88 | 91 | StorageDead(_5);
|
89 |
| - _3 = move _4 as std::ptr::Unique<[bool]> (PointerCoercion(Unsize)); |
| 92 | +- _3 = move _4 as std::ptr::Unique<[bool]> (PointerCoercion(Unsize)); |
| 93 | ++ _3 = const Unique::<[bool]> {{ pointer: NonNull::<[bool]> {{ pointer: Indirect { alloc_id: ALLOC0, offset: Size(0 bytes) }: *const [bool] }}, _marker: PhantomData::<[bool]> }}; |
90 | 94 | StorageDead(_4);
|
91 |
| - _2 = Box::<[bool]>(_3, const std::alloc::Global); |
| 95 | +- _2 = Box::<[bool]>(_3, const std::alloc::Global); |
| 96 | ++ _2 = const Box::<[bool]>(Unique::<[bool]> {{ pointer: NonNull::<[bool]> {{ pointer: Indirect { alloc_id: ALLOC1, offset: Size(0 bytes) }: *const [bool] }}, _marker: PhantomData::<[bool]> }}, std::alloc::Global); |
92 | 97 | StorageDead(_9);
|
93 | 98 | StorageDead(_3);
|
94 |
| - _1 = A { foo: move _2 }; |
| 99 | +- _1 = A { foo: move _2 }; |
| 100 | ++ _1 = const A {{ foo: Box::<[bool]>(Unique::<[bool]> {{ pointer: NonNull::<[bool]> {{ pointer: Indirect { alloc_id: ALLOC2, offset: Size(0 bytes) }: *const [bool] }}, _marker: PhantomData::<[bool]> }}, std::alloc::Global) }}; |
95 | 101 | StorageDead(_2);
|
96 | 102 | _0 = const ();
|
97 | 103 | drop(_1) -> [return: bb1, unwind unreachable];
|
98 | 104 | }
|
| 105 | ++ } |
| 106 | ++ |
| 107 | ++ ALLOC2 (size: 16, align: 8) { |
| 108 | ++ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................ |
| 109 | ++ } |
| 110 | ++ |
| 111 | ++ ALLOC1 (size: 16, align: 8) { |
| 112 | ++ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................ |
| 113 | ++ } |
| 114 | ++ |
| 115 | ++ ALLOC0 (size: 16, align: 8) { |
| 116 | ++ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................ |
99 | 117 | }
|
100 | 118 |
|
0 commit comments