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