|
8 | 8 | let _5: (); // in scope 0 at $DIR/cycle.rs:14:5: 14:12
|
9 | 9 | let mut _6: i32; // in scope 0 at $DIR/cycle.rs:14:10: 14:11
|
10 | 10 | scope 1 {
|
11 |
| -- debug x => _1; // in scope 1 at $DIR/cycle.rs:9:9: 9:14 |
12 |
| -+ debug x => _4; // in scope 1 at $DIR/cycle.rs:9:9: 9:14 |
| 11 | + debug x => _1; // in scope 1 at $DIR/cycle.rs:9:9: 9:14 |
13 | 12 | let _2: i32; // in scope 1 at $DIR/cycle.rs:10:9: 10:10
|
14 | 13 | scope 2 {
|
15 |
| -- debug y => _2; // in scope 2 at $DIR/cycle.rs:10:9: 10:10 |
16 |
| -+ debug y => _4; // in scope 2 at $DIR/cycle.rs:10:9: 10:10 |
| 14 | + debug y => _2; // in scope 2 at $DIR/cycle.rs:10:9: 10:10 |
17 | 15 | let _3: i32; // in scope 2 at $DIR/cycle.rs:11:9: 11:10
|
18 | 16 | scope 3 {
|
19 |
| -- debug z => _3; // in scope 3 at $DIR/cycle.rs:11:9: 11:10 |
20 |
| -+ debug z => _4; // in scope 3 at $DIR/cycle.rs:11:9: 11:10 |
| 17 | + debug z => _3; // in scope 3 at $DIR/cycle.rs:11:9: 11:10 |
21 | 18 | scope 4 (inlined std::mem::drop::<i32>) { // at $DIR/cycle.rs:14:5: 14:12
|
22 | 19 | debug _x => _6; // in scope 4 at $SRC_DIR/core/src/mem/mod.rs:LL:COL
|
23 | 20 | }
|
|
26 | 23 | }
|
27 | 24 |
|
28 | 25 | bb0: {
|
29 |
| -- StorageLive(_1); // scope 0 at $DIR/cycle.rs:9:9: 9:14 |
30 |
| -- _1 = val() -> bb1; // scope 0 at $DIR/cycle.rs:9:17: 9:22 |
31 |
| -+ nop; // scope 0 at $DIR/cycle.rs:9:9: 9:14 |
32 |
| -+ _4 = val() -> bb1; // scope 0 at $DIR/cycle.rs:9:17: 9:22 |
| 26 | + StorageLive(_1); // scope 0 at $DIR/cycle.rs:9:9: 9:14 |
| 27 | + _1 = val() -> bb1; // scope 0 at $DIR/cycle.rs:9:17: 9:22 |
33 | 28 | // mir::Constant
|
34 | 29 | // + span: $DIR/cycle.rs:9:17: 9:20
|
35 | 30 | // + literal: Const { ty: fn() -> i32 {val}, val: Value(Scalar(<ZST>)) }
|
36 | 31 | }
|
37 | 32 |
|
38 | 33 | bb1: {
|
39 |
| -- StorageLive(_2); // scope 1 at $DIR/cycle.rs:10:9: 10:10 |
40 |
| -- _2 = _1; // scope 1 at $DIR/cycle.rs:10:13: 10:14 |
41 |
| -- StorageLive(_3); // scope 2 at $DIR/cycle.rs:11:9: 11:10 |
42 |
| -- _3 = _2; // scope 2 at $DIR/cycle.rs:11:13: 11:14 |
43 |
| -- StorageLive(_4); // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
44 |
| -- _4 = _3; // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
45 |
| -- _1 = move _4; // scope 3 at $DIR/cycle.rs:12:5: 12:10 |
46 |
| -- StorageDead(_4); // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
47 |
| -+ nop; // scope 1 at $DIR/cycle.rs:10:9: 10:10 |
48 |
| -+ nop; // scope 1 at $DIR/cycle.rs:10:13: 10:14 |
49 |
| -+ nop; // scope 2 at $DIR/cycle.rs:11:9: 11:10 |
50 |
| -+ nop; // scope 2 at $DIR/cycle.rs:11:13: 11:14 |
51 |
| -+ nop; // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
52 |
| -+ nop; // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
53 |
| -+ nop; // scope 3 at $DIR/cycle.rs:12:5: 12:10 |
54 |
| -+ nop; // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
| 34 | + StorageLive(_2); // scope 1 at $DIR/cycle.rs:10:9: 10:10 |
| 35 | + nop; // scope 1 at $DIR/cycle.rs:10:13: 10:14 |
| 36 | + StorageLive(_3); // scope 2 at $DIR/cycle.rs:11:9: 11:10 |
| 37 | + nop; // scope 2 at $DIR/cycle.rs:11:13: 11:14 |
| 38 | + StorageLive(_4); // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
| 39 | + nop; // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
| 40 | + nop; // scope 3 at $DIR/cycle.rs:12:5: 12:10 |
| 41 | + StorageDead(_4); // scope 3 at $DIR/cycle.rs:12:9: 12:10 |
55 | 42 | StorageLive(_5); // scope 3 at $DIR/cycle.rs:14:5: 14:12
|
56 | 43 | StorageLive(_6); // scope 3 at $DIR/cycle.rs:14:10: 14:11
|
57 |
| -- _6 = _1; // scope 3 at $DIR/cycle.rs:14:10: 14:11 |
58 |
| -+ _6 = _4; // scope 3 at $DIR/cycle.rs:14:10: 14:11 |
| 44 | + nop; // scope 3 at $DIR/cycle.rs:14:10: 14:11 |
59 | 45 | StorageDead(_6); // scope 3 at $DIR/cycle.rs:14:11: 14:12
|
60 | 46 | StorageDead(_5); // scope 3 at $DIR/cycle.rs:14:12: 14:13
|
61 |
| -- StorageDead(_3); // scope 2 at $DIR/cycle.rs:15:1: 15:2 |
62 |
| -- StorageDead(_2); // scope 1 at $DIR/cycle.rs:15:1: 15:2 |
63 |
| -- StorageDead(_1); // scope 0 at $DIR/cycle.rs:15:1: 15:2 |
64 |
| -+ nop; // scope 2 at $DIR/cycle.rs:15:1: 15:2 |
65 |
| -+ nop; // scope 1 at $DIR/cycle.rs:15:1: 15:2 |
66 |
| -+ nop; // scope 0 at $DIR/cycle.rs:15:1: 15:2 |
| 47 | + StorageDead(_3); // scope 2 at $DIR/cycle.rs:15:1: 15:2 |
| 48 | + StorageDead(_2); // scope 1 at $DIR/cycle.rs:15:1: 15:2 |
| 49 | + StorageDead(_1); // scope 0 at $DIR/cycle.rs:15:1: 15:2 |
67 | 50 | return; // scope 0 at $DIR/cycle.rs:15:2: 15:2
|
68 | 51 | }
|
69 | 52 | }
|
|
0 commit comments