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