@@ -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 => _6 ;
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 => _5 ;
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 => _4 ;
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 => _7 ;
64
+ let mut _27 : usize ;
65
+ let mut _28 : usize ;
74
66
}
75
67
}
76
68
}
@@ -81,23 +73,17 @@ 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
StorageLive ( _9) ;
89
81
_9 = copy _6;
90
82
_10 = & _9;
91
- StorageLive ( _11) ;
92
- StorageLive ( _12) ;
93
- _11 = copy _4;
94
- _12 = copy _6;
95
- _13 = copy ( ( * _3) . 0 : usize ) ;
96
- _14 = copy ( ( * _3) . 2 : usize ) ;
97
- _15 = Le ( copy _13, copy _14) ;
98
- StorageDead ( _12) ;
99
- StorageDead ( _11) ;
100
- switchInt ( move _15) -> [ 0 : bb1, otherwise: bb2] ;
83
+ _11 = copy ( ( * _3) . 0 : usize ) ;
84
+ _12 = copy ( ( * _3) . 2 : usize ) ;
85
+ _13 = Le ( copy _11, copy _12) ;
86
+ switchInt ( move _13) -> [ 0 : bb1, otherwise: bb2] ;
101
87
}
102
88
103
89
bb1 : {
@@ -111,107 +97,89 @@ fn variant_a::{closure#0}(_1: &mut {closure@$DIR/slice_filter.rs:7:25: 7:39}, _2
111
97
StorageDead ( _9) ;
112
98
StorageDead ( _10) ;
113
99
StorageDead ( _8) ;
114
- StorageLive ( _23) ;
100
+ StorageLive ( _19) ;
101
+ StorageLive ( _14) ;
102
+ _14 = & _7;
115
103
StorageLive ( _16) ;
116
- _16 = & _7;
117
- StorageLive ( _18) ;
104
+ StorageLive ( _15) ;
105
+ _15 = copy _5;
106
+ _16 = & _15;
118
107
StorageLive ( _17) ;
119
- _17 = copy _5;
120
- _18 = & _17;
121
- StorageLive ( _19) ;
122
- StorageLive ( _20) ;
123
- _19 = copy _7;
124
- _20 = copy _5;
125
- StorageLive ( _21) ;
126
- _21 = copy ( ( * _3) . 3 : usize ) ;
127
- StorageLive ( _22) ;
128
- _22 = copy ( ( * _3) . 1 : usize ) ;
129
- _23 = Le ( move _21, move _22) ;
130
- StorageDead ( _22) ;
131
- StorageDead ( _21) ;
132
- StorageDead ( _20) ;
133
- StorageDead ( _19) ;
134
- switchInt ( move _23) -> [ 0 : bb3, otherwise: bb8] ;
108
+ _17 = copy ( ( * _3) . 3 : usize ) ;
109
+ StorageLive ( _18) ;
110
+ _18 = copy ( ( * _3) . 1 : usize ) ;
111
+ _19 = Le ( move _17, move _18) ;
112
+ StorageDead ( _18) ;
113
+ StorageDead ( _17) ;
114
+ switchInt ( move _19) -> [ 0 : bb3, otherwise: bb8] ;
135
115
}
136
116
137
117
bb3 : {
138
- StorageDead ( _17) ;
139
- StorageDead ( _18) ;
118
+ StorageDead ( _15) ;
140
119
StorageDead ( _16) ;
120
+ StorageDead ( _14) ;
141
121
goto -> bb4;
142
122
}
143
123
144
124
bb4 : {
145
- StorageLive ( _29) ;
146
- StorageLive ( _24) ;
147
- _24 = & _6;
148
- StorageLive ( _26) ;
149
- StorageLive ( _25) ;
150
- _25 = copy _4;
151
- _26 = & _25;
152
- StorageLive ( _27) ;
153
- StorageLive ( _28) ;
154
- _27 = copy _6;
155
- _28 = copy _4;
156
- _29 = Le ( copy _14, copy _13) ;
157
- StorageDead ( _28) ;
158
- StorageDead ( _27) ;
159
- switchInt ( move _29) -> [ 0 : bb5, otherwise: bb6] ;
125
+ StorageLive ( _23) ;
126
+ StorageLive ( _20) ;
127
+ _20 = & _6;
128
+ StorageLive ( _22) ;
129
+ StorageLive ( _21) ;
130
+ _21 = copy _4;
131
+ _22 = & _21;
132
+ _23 = Le ( copy _12, copy _11) ;
133
+ switchInt ( move _23) -> [ 0 : bb5, otherwise: bb6] ;
160
134
}
161
135
162
136
bb5 : {
163
- StorageDead ( _25 ) ;
164
- StorageDead ( _26 ) ;
165
- StorageDead ( _24 ) ;
137
+ StorageDead ( _21 ) ;
138
+ StorageDead ( _22 ) ;
139
+ StorageDead ( _20 ) ;
166
140
_0 = const false ;
167
141
goto -> bb7;
168
142
}
169
143
170
144
bb6 : {
145
+ StorageDead ( _21) ;
146
+ StorageDead ( _22) ;
147
+ StorageDead ( _20) ;
148
+ StorageLive ( _24) ;
149
+ _24 = & _5;
150
+ StorageLive ( _26) ;
151
+ StorageLive ( _25) ;
152
+ _25 = copy _7;
153
+ _26 = & _25;
154
+ StorageLive ( _27) ;
155
+ _27 = copy ( ( * _3) . 1 : usize ) ;
156
+ StorageLive ( _28) ;
157
+ _28 = copy ( ( * _3) . 3 : usize ) ;
158
+ _0 = Le ( move _27, move _28) ;
159
+ StorageDead ( _28) ;
160
+ StorageDead ( _27) ;
171
161
StorageDead ( _25) ;
172
162
StorageDead ( _26) ;
173
163
StorageDead ( _24) ;
174
- StorageLive ( _30) ;
175
- _30 = & _5;
176
- StorageLive ( _32) ;
177
- StorageLive ( _31) ;
178
- _31 = copy _7;
179
- _32 = & _31;
180
- StorageLive ( _33) ;
181
- StorageLive ( _34) ;
182
- _33 = copy _5;
183
- _34 = copy _7;
184
- StorageLive ( _35) ;
185
- _35 = copy ( ( * _3) . 1 : usize ) ;
186
- StorageLive ( _36) ;
187
- _36 = copy ( ( * _3) . 3 : usize ) ;
188
- _0 = Le ( move _35, move _36) ;
189
- StorageDead ( _36) ;
190
- StorageDead ( _35) ;
191
- StorageDead ( _34) ;
192
- StorageDead ( _33) ;
193
- StorageDead ( _31) ;
194
- StorageDead ( _32) ;
195
- StorageDead ( _30) ;
196
164
goto -> bb7;
197
165
}
198
166
199
167
bb7 : {
200
- StorageDead ( _29 ) ;
168
+ StorageDead ( _23 ) ;
201
169
goto -> bb9;
202
170
}
203
171
204
172
bb8 : {
205
- StorageDead ( _17) ;
206
- StorageDead ( _18) ;
173
+ StorageDead ( _15) ;
207
174
StorageDead ( _16) ;
175
+ StorageDead ( _14) ;
208
176
_0 = const true ;
209
177
goto -> bb9;
210
178
}
211
179
212
180
bb9 : {
213
- StorageDead ( _23 ) ;
214
- StorageDead ( _15 ) ;
181
+ StorageDead ( _19 ) ;
182
+ StorageDead ( _13 ) ;
215
183
return ;
216
184
}
217
185
}
0 commit comments