@@ -19,7 +19,7 @@ fn test_complex() -> () {
19
19
bb0 : {
20
20
StorageLive(_1);
21
21
StorageLive(_2);
22
- _2 = E::f() -> [return : bb1, unwind: bb34 ];
22
+ _2 = E::f() -> [return : bb1, unwind: bb35 ];
23
23
}
24
24
25
25
bb1 : {
@@ -42,7 +42,7 @@ fn test_complex() -> () {
42
42
43
43
bb5 : {
44
44
StorageLive(_4);
45
- _4 = always_true() -> [return : bb6, unwind: bb34 ];
45
+ _4 = always_true() -> [return : bb6, unwind: bb35 ];
46
46
}
47
47
48
48
bb6 : {
@@ -64,7 +64,7 @@ fn test_complex() -> () {
64
64
}
65
65
66
66
bb9 : {
67
- drop(_7) -> [return : bb11, unwind: bb34 ];
67
+ drop(_7) -> [return : bb11, unwind: bb35 ];
68
68
}
69
69
70
70
bb10 : {
@@ -78,7 +78,7 @@ fn test_complex() -> () {
78
78
}
79
79
80
80
bb12 : {
81
- drop(_7) -> [return : bb13, unwind: bb34 ];
81
+ drop(_7) -> [return : bb13, unwind: bb35 ];
82
82
}
83
83
84
84
bb13 : {
@@ -98,7 +98,7 @@ fn test_complex() -> () {
98
98
}
99
99
100
100
bb15 : {
101
- drop(_10) -> [return : bb17, unwind: bb34 ];
101
+ drop(_10) -> [return : bb17, unwind: bb35 ];
102
102
}
103
103
104
104
bb16 : {
@@ -113,11 +113,12 @@ fn test_complex() -> () {
113
113
114
114
bb18 : {
115
115
_1 = const ();
116
+ StorageDead(_2);
116
117
goto -> bb22;
117
118
}
118
119
119
120
bb19 : {
120
- drop(_10) -> [return : bb20, unwind: bb34 ];
121
+ drop(_10) -> [return : bb20, unwind: bb35 ];
121
122
}
122
123
123
124
bb20 : {
@@ -127,6 +128,7 @@ fn test_complex() -> () {
127
128
}
128
129
129
130
bb21 : {
131
+ StorageDead(_2);
130
132
_1 = const ();
131
133
goto -> bb22;
132
134
}
@@ -135,18 +137,17 @@ fn test_complex() -> () {
135
137
StorageDead(_8);
136
138
StorageDead(_5);
137
139
StorageDead(_4);
138
- StorageDead(_2);
139
140
StorageDead(_1);
140
141
StorageLive(_11);
141
- _11 = always_true() -> [return : bb23, unwind: bb34 ];
142
+ _11 = always_true() -> [return : bb23, unwind: bb35 ];
142
143
}
143
144
144
145
bb23 : {
145
146
switchInt(move _11) -> [0 : bb25, otherwise: bb24];
146
147
}
147
148
148
149
bb24 : {
149
- goto -> bb32 ;
150
+ goto -> bb33 ;
150
151
}
151
152
152
153
bb25 : {
@@ -155,7 +156,7 @@ fn test_complex() -> () {
155
156
156
157
bb26 : {
157
158
StorageLive(_12);
158
- _12 = E::f() -> [return : bb27, unwind: bb34 ];
159
+ _12 = E::f() -> [return : bb27, unwind: bb35 ];
159
160
}
160
161
161
162
bb27 : {
@@ -178,21 +179,26 @@ fn test_complex() -> () {
178
179
179
180
bb31 : {
180
181
_0 = const ();
181
- goto -> bb33;
182
+ StorageDead(_12);
183
+ goto -> bb34;
182
184
}
183
185
184
186
bb32 : {
185
- _0 = const ( );
187
+ StorageDead(_12 );
186
188
goto -> bb33;
187
189
}
188
190
189
191
bb33 : {
192
+ _0 = const ();
193
+ goto -> bb34;
194
+ }
195
+
196
+ bb34 : {
190
197
StorageDead(_11);
191
- StorageDead(_12);
192
198
return;
193
199
}
194
200
195
- bb34 (cleanup) : {
201
+ bb35 (cleanup) : {
196
202
resume;
197
203
}
198
204
}
0 commit comments