1 // MIR for `main::{{closure}}#0` 0 generator_drop
2 // generator_layout = GeneratorLayout { field_tys: [], variant_fields: [[], [], [], []], storage_conflicts: BitMatrix { num_rows: 0, num_columns: 0, words: [], marker: PhantomData } }
4 fn main::{{closure}}#0(_1: *mut [generator@$DIR/generator-drop-cleanup.rs:8:15: 10:6 {()}]) -> () {
5 let mut _0: (); // return place in scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
6 let mut _2: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
7 let _3: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:9:9: 9:14
8 let mut _4: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:9:9: 9:14
9 let mut _5: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:8:18: 8:18
10 let mut _6: (); // in scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
11 let mut _7: isize; // in scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
14 _7 = discriminant((*_1)); // bb0[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
15 switchInt(move _7) -> [0u32: bb4, 3u32: bb7, otherwise: bb8]; // bb0[1]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
19 StorageDead(_4); // bb1[0]: scope 0 at $DIR/generator-drop-cleanup.rs:9:13: 9:14
20 StorageDead(_3); // bb1[1]: scope 0 at $DIR/generator-drop-cleanup.rs:9:14: 9:15
21 goto -> bb5; // bb1[2]: scope 0 at $DIR/generator-drop-cleanup.rs:10:5: 10:6
25 return; // bb2[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
29 return; // bb3[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
33 goto -> bb6; // bb4[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
37 goto -> bb2; // bb5[0]: scope 0 at $DIR/generator-drop-cleanup.rs:10:5: 10:6
41 goto -> bb3; // bb6[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
45 StorageLive(_3); // bb7[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
46 StorageLive(_4); // bb7[1]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
47 goto -> bb1; // bb7[2]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6
51 return; // bb8[0]: scope 0 at $DIR/generator-drop-cleanup.rs:8:15: 10:6