@@ -54,53 +54,56 @@ fn main() {
54
54
// ...
55
55
// _2 = std::option::Option<i32>::Some(const 42i32,);
56
56
// _5 = discriminant(_2);
57
- // switchInt(_5) -> [0isize: bb5, otherwise : bb3];
57
+ // switchInt(_5) -> [0isize: bb5, 1isize : bb3, otherwise: bb7 ];
58
58
// }
59
59
// bb1: { // arm1
60
60
// StorageLive(_7);
61
61
// _7 = _3;
62
62
// _1 = (const 1i32, _7);
63
63
// StorageDead(_7);
64
- // goto -> bb11 ;
64
+ // goto -> bb12 ;
65
65
// }
66
66
// bb2: { // binding3(empty) and arm3
67
67
// _1 = (const 3i32, const 3i32);
68
- // goto -> bb11 ;
68
+ // goto -> bb12 ;
69
69
// }
70
70
// bb3: {
71
- // falseEdges -> [real: bb7 , imaginary: bb4]; //pre_binding1
71
+ // falseEdges -> [real: bb8 , imaginary: bb4]; //pre_binding1
72
72
// }
73
73
// bb4: {
74
- // falseEdges -> [real: bb10 , imaginary: bb5]; //pre_binding2
74
+ // falseEdges -> [real: bb11 , imaginary: bb5]; //pre_binding2
75
75
// }
76
76
// bb5: {
77
77
// falseEdges -> [real: bb2, imaginary: bb6]; //pre_binding3
78
78
// }
79
79
// bb6: {
80
80
// unreachable;
81
81
// }
82
- // bb7: { // binding1 and guard
82
+ // bb7: {
83
+ // unreachable;
84
+ // }
85
+ // bb8: { // binding1 and guard
83
86
// StorageLive(_3);
84
87
// _3 = ((_2 as Some).0: i32);
85
88
// StorageLive(_6);
86
- // _6 = const guard() -> bb8 ;
89
+ // _6 = const guard() -> bb9 ;
87
90
// }
88
- // bb8 : { // end of guard
89
- // switchInt(_6) -> [0u8: bb9 , otherwise: bb1];
91
+ // bb9 : { // end of guard
92
+ // switchInt(_6) -> [0u8: bb10 , otherwise: bb1];
90
93
// }
91
- // bb9 : { // to pre_binding2
94
+ // bb10 : { // to pre_binding2
92
95
// falseEdges -> [real: bb4, imaginary: bb4];
93
96
// }
94
- // bb10 : { // bindingNoLandingPads.before.mir2 and arm2
97
+ // bb11 : { // bindingNoLandingPads.before.mir2 and arm2
95
98
// StorageLive(_4);
96
99
// _4 = ((_2 as Some).0: i32);
97
100
// StorageLive(_8);
98
101
// _8 = _4;
99
102
// _1 = (const 2i32, _8);
100
103
// StorageDead(_8);
101
- // goto -> bb11 ;
104
+ // goto -> bb12 ;
102
105
// }
103
- // bb11 : {
106
+ // bb12 : {
104
107
// ...
105
108
// return;
106
109
// }
@@ -111,53 +114,56 @@ fn main() {
111
114
// ...
112
115
// _2 = std::option::Option<i32>::Some(const 42i32,);
113
116
// _5 = discriminant(_2);
114
- // switchInt(_5) -> [0isize: bb4, otherwise : bb3];
117
+ // switchInt(_5) -> [0isize: bb4, 1isize : bb3, otherwise: bb7 ];
115
118
// }
116
119
// bb1: { // arm1
117
120
// StorageLive(_7);
118
121
// _7 = _3;
119
122
// _1 = (const 1i32, _7);
120
123
// StorageDead(_7);
121
- // goto -> bb11 ;
124
+ // goto -> bb12 ;
122
125
// }
123
126
// bb2: { // binding3(empty) and arm3
124
127
// _1 = (const 3i32, const 3i32);
125
- // goto -> bb11 ;
128
+ // goto -> bb12 ;
126
129
// }
127
130
// bb3: {
128
- // falseEdges -> [real: bb7 , imaginary: bb4]; //pre_binding1
131
+ // falseEdges -> [real: bb8 , imaginary: bb4]; //pre_binding1
129
132
// }
130
133
// bb4: {
131
134
// falseEdges -> [real: bb2, imaginary: bb5]; //pre_binding2
132
135
// }
133
136
// bb5: {
134
- // falseEdges -> [real: bb10 , imaginary: bb6]; //pre_binding3
137
+ // falseEdges -> [real: bb11 , imaginary: bb6]; //pre_binding3
135
138
// }
136
139
// bb6: {
137
140
// unreachable;
138
141
// }
139
- // bb7: { // binding1 and guard
142
+ // bb7: {
143
+ // unreachable;
144
+ // }
145
+ // bb8: { // binding1 and guard
140
146
// StorageLive(_3);
141
147
// _3 = ((_2 as Some).0: i32);
142
148
// StorageLive(_6);
143
- // _6 = const guard() -> bb8 ;
149
+ // _6 = const guard() -> bb9 ;
144
150
// }
145
- // bb8 : { // end of guard
146
- // switchInt(_6) -> [0u8: bb9 , otherwise: bb1];
151
+ // bb9 : { // end of guard
152
+ // switchInt(_6) -> [0u8: bb10 , otherwise: bb1];
147
153
// }
148
- // bb9 : { // to pre_binding2
154
+ // bb10 : { // to pre_binding2
149
155
// falseEdges -> [real: bb5, imaginary: bb4];
150
156
// }
151
- // bb10 : { // binding2 and arm2
157
+ // bb11 : { // binding2 and arm2
152
158
// StorageLive(_4);
153
159
// _4 = ((_2 as Some).0: i32);
154
160
// StorageLive(_8);
155
161
// _8 = _4;
156
162
// _1 = (const 2i32, _8);
157
163
// StorageDead(_8);
158
- // goto -> bb11 ;
164
+ // goto -> bb12 ;
159
165
// }
160
- // bb11 : {
166
+ // bb12 : {
161
167
// ...
162
168
// return;
163
169
// }
0 commit comments