|
84 | 84 | StorageLive(_17); |
85 | 85 | StorageLive(_19); |
86 | 86 | _19 = const false; |
87 | | -- switchInt(move _19) -> [0: bb6, otherwise: bb5]; |
88 | | -+ switchInt(const false) -> [0: bb6, otherwise: bb5]; |
| 87 | +- switchInt(move _19) -> [0: bb3, otherwise: bb2]; |
| 88 | ++ switchInt(const false) -> [0: bb3, otherwise: bb2]; |
89 | 89 | } |
90 | 90 |
|
91 | 91 | bb1: { |
|
95 | 95 | } |
96 | 96 |
|
97 | 97 | bb2: { |
98 | | - unreachable; |
| 98 | +- _20 = Layout::from_size_align_unchecked::precondition_check(copy _11, copy _12) -> [return: bb3, unwind unreachable]; |
| 99 | ++ _20 = Layout::from_size_align_unchecked::precondition_check(const 0_usize, const 1_usize) -> [return: bb3, unwind unreachable]; |
99 | 100 | } |
100 | 101 |
|
101 | 102 | bb3: { |
102 | | -- _18 = handle_alloc_error(move _14) -> unwind unreachable; |
103 | | -+ _18 = handle_alloc_error(const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}) -> unwind unreachable; |
| 103 | + StorageDead(_19); |
| 104 | + StorageLive(_21); |
| 105 | +- _21 = copy _12 as std::ptr::Alignment (Transmute); |
| 106 | +- _14 = Layout { size: copy _11, align: move _21 }; |
| 107 | ++ _21 = const std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0); |
| 108 | ++ _14 = const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}; |
| 109 | + StorageDead(_21); |
| 110 | + StorageLive(_15); |
| 111 | +- _15 = std::alloc::Global::alloc_impl(const alloc::alloc::exchange_malloc::promoted[0], copy _14, const false) -> [return: bb4, unwind unreachable]; |
| 112 | ++ _15 = std::alloc::Global::alloc_impl(const alloc::alloc::exchange_malloc::promoted[0], const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}, const false) -> [return: bb4, unwind unreachable]; |
104 | 113 | } |
105 | 114 |
|
106 | 115 | bb4: { |
| 116 | + _16 = discriminant(_15); |
| 117 | + switchInt(move _16) -> [0: bb5, 1: bb6, otherwise: bb7]; |
| 118 | + } |
| 119 | + |
| 120 | + bb5: { |
107 | 121 | _17 = copy ((_15 as Ok).0: std::ptr::NonNull<[u8]>); |
108 | 122 | StorageLive(_22); |
109 | 123 | _22 = copy _17 as *mut [u8] (Transmute); |
|
150 | 164 | drop(_3) -> [return: bb1, unwind unreachable]; |
151 | 165 | } |
152 | 166 |
|
153 | | - bb5: { |
154 | | -- _20 = Layout::from_size_align_unchecked::precondition_check(copy _11, copy _12) -> [return: bb6, unwind unreachable]; |
155 | | -+ _20 = Layout::from_size_align_unchecked::precondition_check(const 0_usize, const 1_usize) -> [return: bb6, unwind unreachable]; |
156 | | - } |
157 | | - |
158 | 167 | bb6: { |
159 | | - StorageDead(_19); |
160 | | - StorageLive(_21); |
161 | | -- _21 = copy _12 as std::ptr::Alignment (Transmute); |
162 | | -- _14 = Layout { size: copy _11, align: move _21 }; |
163 | | -+ _21 = const std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0); |
164 | | -+ _14 = const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}; |
165 | | - StorageDead(_21); |
166 | | - StorageLive(_15); |
167 | | -- _15 = std::alloc::Global::alloc_impl(const alloc::alloc::exchange_malloc::promoted[0], copy _14, const false) -> [return: bb7, unwind unreachable]; |
168 | | -+ _15 = std::alloc::Global::alloc_impl(const alloc::alloc::exchange_malloc::promoted[0], const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}, const false) -> [return: bb7, unwind unreachable]; |
| 168 | +- _18 = handle_alloc_error(move _14) -> unwind unreachable; |
| 169 | ++ _18 = handle_alloc_error(const Layout {{ size: 0_usize, align: std::ptr::Alignment(std::ptr::alignment::AlignmentEnum::_Align1Shl0) }}) -> unwind unreachable; |
169 | 170 | } |
170 | 171 |
|
171 | 172 | bb7: { |
172 | | - _16 = discriminant(_15); |
173 | | - switchInt(move _16) -> [0: bb4, 1: bb3, otherwise: bb2]; |
| 173 | + unreachable; |
174 | 174 | } |
175 | 175 | + } |
176 | 176 | + |
|
0 commit comments