|
4 | 4 | fn main() -> () { |
5 | 5 | let mut _0: (); |
6 | 6 | let _1: std::ops::CoroutineState<i32, bool>; |
7 | | - let mut _2: std::pin::Pin<&mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}>; |
8 | | - let mut _3: &mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}; |
9 | | - let mut _4: {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}; |
| 7 | + let mut _2: std::pin::Pin<&mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}>; |
| 8 | + let mut _3: &mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}; |
| 9 | + let mut _4: {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}; |
10 | 10 | + let mut _5: bool; |
11 | 11 | scope 1 { |
12 | 12 | debug _r => _1; |
13 | 13 | } |
14 | 14 | + scope 2 (inlined g) { |
15 | 15 | + } |
16 | | -+ scope 3 (inlined Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}>::new) { |
| 16 | ++ scope 3 (inlined Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}>::new) { |
17 | 17 | + debug pointer => _3; |
18 | 18 | + scope 4 { |
19 | | -+ scope 5 (inlined Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}>::new_unchecked) { |
| 19 | ++ scope 5 (inlined Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}>::new_unchecked) { |
20 | 20 | + debug pointer => _3; |
21 | 21 | + } |
22 | 22 | + } |
23 | 23 | + } |
24 | 24 | + scope 6 (inlined g::{closure#0}) { |
25 | 25 | + debug a => _5; |
26 | | -+ let mut _6: &mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}; |
| 26 | ++ let mut _6: &mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}; |
27 | 27 | + let mut _7: u32; |
28 | 28 | + let mut _8: i32; |
29 | 29 | + } |
|
37 | 37 | - } |
38 | 38 | - |
39 | 39 | - bb1: { |
40 | | -+ _4 = {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8 (#0)}; |
| 40 | ++ _4 = {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8 (#0)}; |
41 | 41 | _3 = &mut _4; |
42 | | -- _2 = Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}>::new(move _3) -> [return: bb2, unwind: bb5]; |
| 42 | +- _2 = Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}>::new(move _3) -> [return: bb2, unwind: bb5]; |
43 | 43 | - } |
44 | 44 | - |
45 | 45 | - bb2: { |
46 | | -+ _2 = Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}> { pointer: move _3 }; |
| 46 | ++ _2 = Pin::<&mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}> { pointer: move _3 }; |
47 | 47 | StorageDead(_3); |
48 | | -- _1 = <{coroutine@$DIR/inline_coroutine.rs:17:5: 17:8} as Coroutine<bool>>::resume(move _2, const false) -> [return: bb3, unwind: bb5]; |
| 48 | +- _1 = <{coroutine@$DIR/inline_coroutine.rs:19:5: 19:8} as Coroutine<bool>>::resume(move _2, const false) -> [return: bb3, unwind: bb5]; |
49 | 49 | + StorageLive(_5); |
50 | 50 | + _5 = const false; |
51 | 51 | + StorageLive(_6); |
52 | 52 | + StorageLive(_7); |
53 | | -+ _6 = (_2.0: &mut {coroutine@$DIR/inline_coroutine.rs:17:5: 17:8}); |
| 53 | ++ _6 = (_2.0: &mut {coroutine@$DIR/inline_coroutine.rs:19:5: 19:8}); |
54 | 54 | + _7 = discriminant((*_6)); |
55 | 55 | + switchInt(move _7) -> [0: bb5, 1: bb9, 3: bb10, otherwise: bb11]; |
56 | 56 | } |
|
0 commit comments