|
31 | 31 | _2 = HasDrop; |
32 | 32 | StorageLive(_3); |
33 | 33 | _3 = DropAllocator; |
34 | | - _1 = Box::<HasDrop, DropAllocator>::new_in(move _2, move _3) -> [return: bb1, unwind: bb11]; |
| 34 | ++ _9 = const true; |
| 35 | + _1 = Box::<HasDrop, DropAllocator>::new_in(move _2, move _3) -> [return: bb1, unwind continue]; |
35 | 36 | } |
36 | 37 |
|
37 | 38 | bb1: { |
38 | | -+ _9 = const true; |
39 | 39 | StorageDead(_3); |
40 | 40 | StorageDead(_2); |
41 | 41 | StorageLive(_4); |
|
47 | 47 | StorageLive(_5); |
48 | 48 | StorageLive(_6); |
49 | 49 | _6 = move (*_1); |
50 | | - _5 = std::mem::drop::<HasDrop>(move _6) -> [return: bb3, unwind: bb9]; |
| 50 | + _5 = std::mem::drop::<HasDrop>(move _6) -> [return: bb3, unwind: bb8]; |
51 | 51 | } |
52 | 52 |
|
53 | 53 | bb3: { |
|
75 | 75 | bb6: { |
76 | 76 | StorageDead(_4); |
77 | 77 | - drop(_1) -> [return: bb7, unwind continue]; |
78 | | -+ goto -> bb23; |
| 78 | ++ goto -> bb19; |
79 | 79 | } |
80 | 80 |
|
81 | 81 | bb7: { |
|
85 | 85 | } |
86 | 86 |
|
87 | 87 | bb8 (cleanup): { |
88 | | -- drop(_8) -> [return: bb10, unwind terminate(cleanup)]; |
89 | | -+ goto -> bb10; |
| 88 | +- drop(_1) -> [return: bb9, unwind terminate(cleanup)]; |
| 89 | ++ goto -> bb25; |
90 | 90 | } |
91 | 91 |
|
92 | 92 | bb9 (cleanup): { |
93 | | -- drop(_6) -> [return: bb10, unwind terminate(cleanup)]; |
94 | | -+ goto -> bb10; |
95 | | - } |
96 | | - |
97 | | - bb10 (cleanup): { |
98 | | -- drop(_1) -> [return: bb13, unwind terminate(cleanup)]; |
99 | | -+ goto -> bb29; |
100 | | - } |
101 | | - |
102 | | - bb11 (cleanup): { |
103 | | -- drop(_3) -> [return: bb12, unwind terminate(cleanup)]; |
104 | | -+ goto -> bb12; |
105 | | - } |
106 | | - |
107 | | - bb12 (cleanup): { |
108 | | -- drop(_2) -> [return: bb13, unwind terminate(cleanup)]; |
109 | | -+ goto -> bb13; |
110 | | - } |
111 | | - |
112 | | - bb13 (cleanup): { |
113 | 93 | resume; |
114 | 94 | + } |
115 | 95 | + |
116 | | -+ bb14: { |
| 96 | ++ bb10: { |
117 | 97 | + _9 = const false; |
118 | 98 | + goto -> bb7; |
119 | 99 | + } |
120 | 100 | + |
121 | | -+ bb15 (cleanup): { |
122 | | -+ drop((_1.1: DropAllocator)) -> [return: bb13, unwind terminate(cleanup)]; |
| 101 | ++ bb11 (cleanup): { |
| 102 | ++ drop((_1.1: DropAllocator)) -> [return: bb9, unwind terminate(cleanup)]; |
123 | 103 | + } |
124 | 104 | + |
125 | | -+ bb16 (cleanup): { |
126 | | -+ switchInt(copy _9) -> [0: bb13, otherwise: bb15]; |
| 105 | ++ bb12 (cleanup): { |
| 106 | ++ switchInt(copy _9) -> [0: bb9, otherwise: bb11]; |
127 | 107 | + } |
128 | 108 | + |
129 | | -+ bb17: { |
130 | | -+ drop((_1.1: DropAllocator)) -> [return: bb14, unwind: bb13]; |
| 109 | ++ bb13: { |
| 110 | ++ drop((_1.1: DropAllocator)) -> [return: bb10, unwind: bb9]; |
131 | 111 | + } |
132 | 112 | + |
133 | | -+ bb18: { |
134 | | -+ switchInt(copy _9) -> [0: bb14, otherwise: bb17]; |
| 113 | ++ bb14: { |
| 114 | ++ switchInt(copy _9) -> [0: bb10, otherwise: bb13]; |
135 | 115 | + } |
136 | 116 | + |
137 | | -+ bb19: { |
| 117 | ++ bb15: { |
138 | 118 | + _10 = &mut _1; |
139 | | -+ _11 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _10) -> [return: bb18, unwind: bb16]; |
| 119 | ++ _11 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _10) -> [return: bb14, unwind: bb12]; |
140 | 120 | + } |
141 | 121 | + |
142 | | -+ bb20 (cleanup): { |
| 122 | ++ bb16 (cleanup): { |
143 | 123 | + _12 = &mut _1; |
144 | | -+ _13 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _12) -> [return: bb16, unwind terminate(cleanup)]; |
| 124 | ++ _13 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _12) -> [return: bb12, unwind terminate(cleanup)]; |
145 | 125 | + } |
146 | 126 | + |
147 | | -+ bb21: { |
148 | | -+ goto -> bb19; |
| 127 | ++ bb17: { |
| 128 | ++ goto -> bb15; |
149 | 129 | + } |
150 | 130 | + |
151 | | -+ bb22: { |
| 131 | ++ bb18: { |
152 | 132 | + _14 = copy ((_1.0: std::ptr::Unique<HasDrop>).0: std::ptr::NonNull<HasDrop>) as *const HasDrop (Transmute); |
153 | | -+ goto -> bb21; |
| 133 | ++ goto -> bb17; |
154 | 134 | + } |
155 | 135 | + |
156 | | -+ bb23: { |
157 | | -+ switchInt(copy _9) -> [0: bb18, otherwise: bb22]; |
| 136 | ++ bb19: { |
| 137 | ++ switchInt(copy _9) -> [0: bb14, otherwise: bb18]; |
158 | 138 | + } |
159 | 139 | + |
160 | | -+ bb24 (cleanup): { |
161 | | -+ drop((_1.1: DropAllocator)) -> [return: bb13, unwind terminate(cleanup)]; |
| 140 | ++ bb20 (cleanup): { |
| 141 | ++ drop((_1.1: DropAllocator)) -> [return: bb9, unwind terminate(cleanup)]; |
162 | 142 | + } |
163 | 143 | + |
164 | | -+ bb25 (cleanup): { |
165 | | -+ switchInt(copy _9) -> [0: bb13, otherwise: bb24]; |
| 144 | ++ bb21 (cleanup): { |
| 145 | ++ switchInt(copy _9) -> [0: bb9, otherwise: bb20]; |
166 | 146 | + } |
167 | 147 | + |
168 | | -+ bb26 (cleanup): { |
| 148 | ++ bb22 (cleanup): { |
169 | 149 | + _15 = &mut _1; |
170 | | -+ _16 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _15) -> [return: bb25, unwind terminate(cleanup)]; |
| 150 | ++ _16 = <Box<HasDrop, DropAllocator> as Drop>::drop(move _15) -> [return: bb21, unwind terminate(cleanup)]; |
171 | 151 | + } |
172 | 152 | + |
173 | | -+ bb27 (cleanup): { |
174 | | -+ goto -> bb26; |
| 153 | ++ bb23 (cleanup): { |
| 154 | ++ goto -> bb22; |
175 | 155 | + } |
176 | 156 | + |
177 | | -+ bb28 (cleanup): { |
| 157 | ++ bb24 (cleanup): { |
178 | 158 | + _17 = copy ((_1.0: std::ptr::Unique<HasDrop>).0: std::ptr::NonNull<HasDrop>) as *const HasDrop (Transmute); |
179 | | -+ goto -> bb27; |
| 159 | ++ goto -> bb23; |
180 | 160 | + } |
181 | 161 | + |
182 | | -+ bb29 (cleanup): { |
183 | | -+ switchInt(copy _9) -> [0: bb25, otherwise: bb28]; |
| 162 | ++ bb25 (cleanup): { |
| 163 | ++ switchInt(copy _9) -> [0: bb21, otherwise: bb24]; |
184 | 164 | } |
185 | 165 | } |
186 | 166 |
|
0 commit comments