@@ -25,7 +25,7 @@ fn test() -> () {
25
25
StorageLive(_3); // scope 2 at $DIR/issue-41110.rs:17:5 : 17:12
26
26
StorageLive(_4); // scope 2 at $DIR/issue-41110.rs:17:10 : 17:11
27
27
_4 = move _2; // scope 2 at $DIR/issue-41110.rs:17:10 : 17:11
28
- _3 = std::mem::drop::<S>(move _4) -> [return : bb1, unwind: bb5 ]; // scope 2 at $DIR/issue-41110.rs:17:5: 17:12
28
+ _3 = std::mem::drop::<S>(move _4) -> [return : bb1, unwind: bb7 ]; // scope 2 at $DIR/issue-41110.rs:17:5: 17:12
29
29
// mir::Constant
30
30
// + span : $DIR/issue-41110.rs:17:5: 17:9
31
31
// + literal : Const { ty: fn(S) {std::mem::drop::<S>}, val: Value(Scalar(<ZST>)) }
@@ -37,53 +37,61 @@ fn test() -> () {
37
37
StorageLive(_5); // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
38
38
_6 = const false; // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
39
39
_5 = move _1; // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
40
- goto -> bb9; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
40
+ goto -> bb11; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
41
41
}
42
42
43
43
bb2 : {
44
+ goto -> bb3; // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
45
+ }
46
+
47
+ bb3 : {
44
48
StorageDead(_5); // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
45
49
_0 = const (); // scope 0 at $DIR/issue-41110.rs:14:15 : 19:2
46
- drop(_2) -> [return : bb3 , unwind: bb6 ]; // scope 1 at $DIR/issue-41110.rs:19:1: 19:2
50
+ drop(_2) -> [return : bb4 , unwind: bb8 ]; // scope 1 at $DIR/issue-41110.rs:19:1: 19:2
47
51
}
48
52
49
- bb3 : {
53
+ bb4 : {
50
54
StorageDead(_2); // scope 1 at $DIR/issue-41110.rs:19:1 : 19:2
51
- goto -> bb4 ; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
55
+ goto -> bb5 ; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
52
56
}
53
57
54
- bb4 : {
58
+ bb5 : {
55
59
_6 = const false; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
56
60
StorageDead(_1); // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
57
61
return; // scope 0 at $DIR/issue-41110.rs:19:2 : 19:2
58
62
}
59
63
60
- bb5 (cleanup) : {
61
- goto -> bb6; // scope 1 at $DIR/issue-41110.rs:19:1 : 19:2
62
- }
63
-
64
64
bb6 (cleanup) : {
65
- goto -> bb11 ; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
65
+ goto -> bb7 ; // scope 2 at $DIR/issue-41110.rs:18:9 : 18:10
66
66
}
67
67
68
68
bb7 (cleanup) : {
69
- resume; // scope 0 at $DIR/issue-41110.rs:14 :1 : 19:2
69
+ goto -> bb8; // scope 1 at $DIR/issue-41110.rs:19 :1 : 19:2
70
70
}
71
71
72
72
bb8 (cleanup) : {
73
+ goto -> bb13; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
74
+ }
75
+
76
+ bb9 (cleanup) : {
77
+ resume; // scope 0 at $DIR/issue-41110.rs:14:1 : 19:2
78
+ }
79
+
80
+ bb10 (cleanup) : {
73
81
_2 = move _5; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
74
- goto -> bb5 ; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
82
+ goto -> bb6 ; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
75
83
}
76
84
77
- bb9 : {
85
+ bb11 : {
78
86
_2 = move _5; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
79
87
goto -> bb2; // scope 2 at $DIR/issue-41110.rs:18:5 : 18:6
80
88
}
81
89
82
- bb10 (cleanup) : {
83
- drop(_1) -> bb7 ; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
90
+ bb12 (cleanup) : {
91
+ drop(_1) -> bb9 ; // scope 0 at $DIR/issue-41110.rs:19:1 : 19:2
84
92
}
85
93
86
- bb11 (cleanup) : {
87
- switchInt(_6) -> [false : bb7 , otherwise: bb10 ]; // scope 0 at $DIR/issue-41110.rs:19:1: 19:2
94
+ bb13 (cleanup) : {
95
+ switchInt(_6) -> [false : bb9 , otherwise: bb12 ]; // scope 0 at $DIR/issue-41110.rs:19:1: 19:2
88
96
}
89
97
}
0 commit comments