|
17 | 17 |
|
18 | 18 | fn main::{closure#0}(_1: *mut [generator@$DIR/generator-drop-cleanup.rs:10:15: 10:17]) -> () {
|
19 | 19 | let mut _0: (); // return place in scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17
|
20 |
| - let mut _2: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
21 |
| - let _3: std::string::String; // in scope 0 at $DIR/generator-drop-cleanup.rs:11:13: 11:15 |
22 |
| - let _4: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:12:9: 12:14 |
23 |
| - let mut _5: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:12:9: 12:14 |
24 |
| - let mut _6: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:10:18: 10:18 |
25 |
| - let mut _7: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
26 |
| - let mut _8: u32; // in scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
| 20 | + let mut _2: u32; // in scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
27 | 21 | scope 1 {
|
28 | 22 | debug _s => (((*_1) as variant#3).0: std::string::String); // in scope 1 at $DIR/generator-drop-cleanup.rs:11:13: 11:15
|
29 | 23 | }
|
30 | 24 |
|
31 | 25 | bb0: {
|
32 |
| - _8 = discriminant((*_1)); // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
33 |
| - switchInt(move _8) -> [0_u32: bb7, 3_u32: bb10, otherwise: bb11]; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
| 26 | + _2 = discriminant((*_1)); // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
| 27 | + switchInt(move _2) -> [0_u32: bb3, 3_u32: bb4, otherwise: bb5]; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
34 | 28 | }
|
35 | 29 |
|
36 | 30 | bb1: {
|
37 |
| - StorageDead(_5); // scope 1 at $DIR/generator-drop-cleanup.rs:12:13: 12:14 |
38 |
| - StorageDead(_4); // scope 1 at $DIR/generator-drop-cleanup.rs:12:14: 12:15 |
39 |
| - drop((((*_1) as variant#3).0: std::string::String)) -> [return: bb2, unwind: bb5]; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
40 |
| - } |
41 |
| - |
42 |
| - bb2: { |
43 |
| - nop; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
44 |
| - goto -> bb8; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
45 |
| - } |
46 |
| - |
47 |
| - bb3: { |
48 | 31 | return; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17
|
49 | 32 | }
|
50 | 33 |
|
51 |
| - bb4 (cleanup): { |
| 34 | + bb2 (cleanup): { |
52 | 35 | resume; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17
|
53 | 36 | }
|
54 | 37 |
|
55 |
| - bb5 (cleanup): { |
56 |
| - nop; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
57 |
| - goto -> bb4; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
58 |
| - } |
59 |
| - |
60 |
| - bb6: { |
| 38 | + bb3: { |
61 | 39 | return; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17
|
62 | 40 | }
|
63 | 41 |
|
64 |
| - bb7: { |
65 |
| - goto -> bb9; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
66 |
| - } |
67 |
| - |
68 |
| - bb8: { |
69 |
| - goto -> bb3; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
70 |
| - } |
71 |
| - |
72 |
| - bb9: { |
73 |
| - goto -> bb6; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
74 |
| - } |
75 |
| - |
76 |
| - bb10: { |
77 |
| - StorageLive(_4); // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
78 |
| - StorageLive(_5); // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
79 |
| - goto -> bb1; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17 |
| 42 | + bb4: { |
| 43 | + drop((((*_1) as variant#3).0: std::string::String)) -> [return: bb1, unwind: bb2]; // scope 0 at $DIR/generator-drop-cleanup.rs:13:5: 13:6 |
80 | 44 | }
|
81 | 45 |
|
82 |
| - bb11: { |
| 46 | + bb5: { |
83 | 47 | return; // scope 0 at $DIR/generator-drop-cleanup.rs:+0:15: +0:17
|
84 | 48 | }
|
85 | 49 | }
|
0 commit comments