@@ -10,18 +10,18 @@ fn variant_a::{closure#0}(_1: &mut {closure@$DIR/slice_filter.rs:7:25: 7:39}, _2
10
10
let mut _8 : &&usize;
11
11
let _9 : &usize;
12
12
let mut _10 : &&usize;
13
- let mut _15 : bool;
13
+ let mut _13 : bool;
14
+ let mut _14 : &&usize;
15
+ let _15 : &usize;
14
16
let mut _16 : &&usize;
15
- let _17 : &usize;
16
- let mut _18 : &&usize;
17
+ let mut _19 : bool;
18
+ let mut _20 : &&usize;
19
+ let _21 : &usize;
20
+ let mut _22 : &&usize;
17
21
let mut _23 : bool;
18
22
let mut _24 : &&usize;
19
23
let _25 : &usize;
20
24
let mut _26 : &&usize;
21
- let mut _29 : bool;
22
- let mut _30 : &&usize;
23
- let _31 : &usize;
24
- let mut _32 : &&usize;
25
25
scope 1 {
26
26
debug a => _4;
27
27
debug b => _5;
@@ -30,47 +30,39 @@ fn variant_a::{closure#0}(_1: &mut {closure@$DIR/slice_filter.rs:7:25: 7:39}, _2
30
30
scope 2 (inlined std::cmp::impls::<impl PartialOrd for &usize>::le) {
31
31
debug self => _8;
32
32
debug other => _10;
33
- let mut _11 : &usize;
34
- let mut _12 : &usize;
35
33
scope 3 (inlined std::cmp::impls::<impl PartialOrd for usize>::le) {
36
- debug self => _11 ;
37
- debug other => _12 ;
38
- let mut _13 : usize;
39
- let mut _14 : usize;
34
+ debug self => _4 ;
35
+ debug other => _9 ;
36
+ let mut _11 : usize;
37
+ let mut _12 : usize;
40
38
}
41
39
}
42
40
scope 4 (inlined std::cmp::impls::<impl PartialOrd for &usize>::le) {
43
- debug self => _16;
44
- debug other => _18;
45
- let mut _19 : &usize;
46
- let mut _20 : &usize;
41
+ debug self => _14;
42
+ debug other => _16;
47
43
scope 5 (inlined std::cmp::impls::<impl PartialOrd for usize>::le) {
48
- debug self => _19 ;
49
- debug other => _20 ;
50
- let mut _21 : usize;
51
- let mut _22 : usize;
44
+ debug self => _7 ;
45
+ debug other => _15 ;
46
+ let mut _17 : usize;
47
+ let mut _18 : usize;
52
48
}
53
49
}
54
50
scope 6 (inlined std::cmp::impls::<impl PartialOrd for &usize>::le) {
55
- debug self => _24;
56
- debug other => _26;
57
- let mut _27 : &usize;
58
- let mut _28 : &usize;
51
+ debug self => _20;
52
+ debug other => _22;
59
53
scope 7 (inlined std::cmp::impls::<impl PartialOrd for usize>::le) {
60
- debug self => _27 ;
61
- debug other => _28 ;
54
+ debug self => _6 ;
55
+ debug other => _21 ;
62
56
}
63
57
}
64
58
scope 8 (inlined std::cmp::impls::<impl PartialOrd for &usize>::le) {
65
- debug self => _30;
66
- debug other => _32;
67
- let mut _33 : &usize;
68
- let mut _34 : &usize;
59
+ debug self => _24;
60
+ debug other => _26;
69
61
scope 9 (inlined std::cmp::impls::<impl PartialOrd for usize>::le) {
70
- debug self => _33 ;
71
- debug other => _34 ;
72
- let mut _35 : usize;
73
- let mut _36 : usize;
62
+ debug self => _5 ;
63
+ debug other => _25 ;
64
+ let mut _27 : usize;
65
+ let mut _28 : usize;
74
66
}
75
67
}
76
68
}
@@ -81,22 +73,16 @@ fn variant_a::{closure#0}(_1: &mut {closure@$DIR/slice_filter.rs:7:25: 7:39}, _2
81
73
_5 = &((*_3).1 : usize);
82
74
_6 = &((*_3).2 : usize);
83
75
_7 = &((*_3).3 : usize);
84
- StorageLive(_15 );
76
+ StorageLive(_13 );
85
77
StorageLive(_8);
86
78
_8 = &_4;
87
79
StorageLive(_10);
88
80
_9 = &((*_3).2 : usize);
89
81
_10 = &_9;
90
- StorageLive(_11);
91
- StorageLive(_12);
92
- _11 = _4;
93
- _12 = _9;
94
- _13 = ((*_3).0 : usize);
95
- _14 = ((*_3).2 : usize);
96
- _15 = Le(_13, _14);
97
- StorageDead(_12);
98
- StorageDead(_11);
99
- switchInt(move _15) -> [0 : bb1, otherwise: bb2];
82
+ _11 = ((*_3).0 : usize);
83
+ _12 = ((*_3).2 : usize);
84
+ _13 = Le(_11, _12);
85
+ switchInt(move _13) -> [0 : bb1, otherwise: bb2];
100
86
}
101
87
102
88
bb1 : {
@@ -108,99 +94,81 @@ fn variant_a::{closure#0}(_1: &mut {closure@$DIR/slice_filter.rs:7:25: 7:39}, _2
108
94
bb2 : {
109
95
StorageDead(_10);
110
96
StorageDead(_8);
111
- StorageLive(_23);
97
+ StorageLive(_19);
98
+ StorageLive(_14);
99
+ _14 = &_7;
112
100
StorageLive(_16);
113
- _16 = &_7;
101
+ _15 = &((*_3).1 : usize);
102
+ _16 = &_15;
103
+ StorageLive(_17);
104
+ _17 = ((*_3).3 : usize);
114
105
StorageLive(_18);
115
- _17 = &((*_3).1 : usize);
116
- _18 = &_17;
117
- StorageLive(_19);
118
- StorageLive(_20);
119
- _19 = _7;
120
- _20 = _17;
121
- StorageLive(_21);
122
- _21 = ((*_3).3 : usize);
123
- StorageLive(_22);
124
- _22 = ((*_3).1 : usize);
125
- _23 = Le(move _21, move _22);
126
- StorageDead(_22);
127
- StorageDead(_21);
128
- StorageDead(_20);
129
- StorageDead(_19);
130
- switchInt(move _23) -> [0 : bb3, otherwise: bb8];
106
+ _18 = ((*_3).1 : usize);
107
+ _19 = Le(move _17, move _18);
108
+ StorageDead(_18);
109
+ StorageDead(_17);
110
+ switchInt(move _19) -> [0 : bb3, otherwise: bb8];
131
111
}
132
112
133
113
bb3 : {
134
- StorageDead(_18);
135
114
StorageDead(_16);
115
+ StorageDead(_14);
136
116
goto -> bb4;
137
117
}
138
118
139
119
bb4 : {
140
- StorageLive(_29);
141
- StorageLive(_24);
142
- _24 = &_6;
143
- StorageLive(_26);
144
- _25 = &((*_3).0 : usize);
145
- _26 = &_25;
146
- StorageLive(_27);
147
- StorageLive(_28);
148
- _27 = _6;
149
- _28 = _25;
150
- _29 = Le(_14, _13);
151
- StorageDead(_28);
152
- StorageDead(_27);
153
- switchInt(move _29) -> [0 : bb5, otherwise: bb6];
120
+ StorageLive(_23);
121
+ StorageLive(_20);
122
+ _20 = &_6;
123
+ StorageLive(_22);
124
+ _21 = &((*_3).0 : usize);
125
+ _22 = &_21;
126
+ _23 = Le(_12, _11);
127
+ switchInt(move _23) -> [0 : bb5, otherwise: bb6];
154
128
}
155
129
156
130
bb5 : {
157
- StorageDead(_26 );
158
- StorageDead(_24 );
131
+ StorageDead(_22 );
132
+ StorageDead(_20 );
159
133
_0 = const false;
160
134
goto -> bb7;
161
135
}
162
136
163
137
bb6 : {
138
+ StorageDead(_22);
139
+ StorageDead(_20);
140
+ StorageLive(_24);
141
+ _24 = &_5;
142
+ StorageLive(_26);
143
+ _25 = &((*_3).3 : usize);
144
+ _26 = &_25;
145
+ StorageLive(_27);
146
+ _27 = ((*_3).1 : usize);
147
+ StorageLive(_28);
148
+ _28 = ((*_3).3 : usize);
149
+ _0 = Le(move _27, move _28);
150
+ StorageDead(_28);
151
+ StorageDead(_27);
164
152
StorageDead(_26);
165
153
StorageDead(_24);
166
- StorageLive(_30);
167
- _30 = &_5;
168
- StorageLive(_32);
169
- _31 = &((*_3).3 : usize);
170
- _32 = &_31;
171
- StorageLive(_33);
172
- StorageLive(_34);
173
- _33 = _5;
174
- _34 = _31;
175
- StorageLive(_35);
176
- _35 = ((*_3).1 : usize);
177
- StorageLive(_36);
178
- _36 = ((*_3).3 : usize);
179
- _0 = Le(move _35, move _36);
180
- StorageDead(_36);
181
- StorageDead(_35);
182
- StorageDead(_34);
183
- StorageDead(_33);
184
- StorageDead(_32);
185
- StorageDead(_30);
186
154
goto -> bb7;
187
155
}
188
156
189
157
bb7 : {
190
- StorageDead(_29 );
158
+ StorageDead(_23 );
191
159
goto -> bb9;
192
160
}
193
161
194
162
bb8 : {
195
- StorageDead(_18);
196
163
StorageDead(_16);
164
+ StorageDead(_14);
197
165
_0 = const true;
198
166
goto -> bb9;
199
167
}
200
168
201
169
bb9 : {
202
- StorageDead(_23 );
203
- StorageDead(_15 );
170
+ StorageDead(_19 );
171
+ StorageDead(_13 );
204
172
return;
205
173
}
206
174
}
0 commit comments