@@ -5,94 +5,87 @@ fn forward_loop(_1: u32, _2: u32, _3: impl Fn(u32)) -> () {
55 debug end => _2;
66 debug f => _3;
77 let mut _0 : ();
8- let mut _4 : std::ops::Range<u32>;
9- let mut _5 : std::ops::Range<u32>;
10- let mut _9 : std::option::Option<u32>;
11- let mut _12 : isize;
12- let mut _14 : &impl Fn(u32);
13- let mut _15 : (u32,);
14- let _16 : ();
15- let mut _17 : &mut std::ops::Range<u32>;
8+ let mut _4 : u32;
9+ let mut _7 : std::option::Option<u32>;
10+ let mut _10 : isize;
11+ let mut _12 : &impl Fn(u32);
12+ let mut _13 : (u32,);
13+ let _14 : ();
1614 scope 1 {
17- debug iter => _5 ;
18- let _13 : u32;
15+ debug iter => std::ops::Range<u32>{ .0 => _4, .1 => _2, } ;
16+ let _11 : u32;
1917 scope 2 {
20- debug x => _13 ;
18+ debug x => _11 ;
2119 }
2220 scope 4 (inlined iter::range::<impl Iterator for std::ops::Range<u32>>::next) {
23- debug self => &_5 ;
21+ debug self => &std::ops::Range<u32>{ .0 => _4, .1 => _2, } ;
2422 scope 5 (inlined <std::ops::Range<u32> as iter::range::RangeIteratorImpl>::spec_next) {
25- debug self => &_5 ;
26- let mut _8 : bool;
27- let _10 : u32;
28- let mut _11 : u32;
23+ debug self => &std::ops::Range<u32>{ .0 => _4, .1 => _2, } ;
24+ let mut _6 : bool;
25+ let _8 : u32;
26+ let mut _9 : u32;
2927 scope 6 {
30- debug old => _10 ;
28+ debug old => _8 ;
3129 scope 7 {
3230 }
3331 }
3432 scope 8 (inlined cmp::impls::<impl PartialOrd for u32>::lt) {
35- debug self => &((*_17).0 : u32);
36- debug other => &((*_17).1 : u32);
37- let mut _6 : u32;
38- let mut _7 : u32;
33+ debug self => &_4;
34+ debug other => &_2;
35+ let mut _5 : u32;
3936 }
4037 }
4138 }
4239 }
4340 scope 3 (inlined <std::ops::Range<u32> as IntoIterator>::into_iter) {
44- debug self => _4 ;
41+ debug self => std::ops::Range<u32>{ .0 => _1, .1 => _2, } ;
4542 }
4643
4744 bb0 : {
48- _4 = std::ops::Range::<u32> { start : _1, end: _2 };
49- StorageLive(_5);
50- _5 = move _4;
45+ StorageLive(_4);
46+ _4 = _1;
5147 goto -> bb1;
5248 }
5349
5450 bb1 : {
55- StorageLive(_9);
56- StorageLive(_10);
51+ StorageLive(_7);
5752 StorageLive(_8);
5853 StorageLive(_6);
59- _6 = (_5.0 : u32);
60- StorageLive(_7);
61- _7 = (_5.1 : u32);
62- _8 = Lt(move _6, move _7);
63- StorageDead(_7);
64- StorageDead(_6);
65- switchInt(move _8) -> [0 : bb2, otherwise: bb3];
54+ StorageLive(_5);
55+ _5 = _4;
56+ _6 = Lt(move _5, _2);
57+ StorageDead(_5);
58+ switchInt(move _6) -> [0 : bb2, otherwise: bb3];
6659 }
6760
6861 bb2 : {
69- _9 = Option::<u32>::None;
62+ _7 = Option::<u32>::None;
7063 goto -> bb5;
7164 }
7265
7366 bb3 : {
74- _10 = (_5.0 : u32) ;
75- StorageLive(_11 );
76- _11 = <u32 as Step>::forward_unchecked(_10 , const 1_usize) -> [return : bb4, unwind unreachable];
67+ _8 = _4 ;
68+ StorageLive(_9 );
69+ _9 = <u32 as Step>::forward_unchecked(_8 , const 1_usize) -> [return : bb4, unwind unreachable];
7770 }
7871
7972 bb4 : {
80- (_5.0 : u32) = move _11 ;
81- StorageDead(_11 );
82- _9 = Option::<u32>::Some(_10 );
73+ _4 = move _9 ;
74+ StorageDead(_9 );
75+ _7 = Option::<u32>::Some(_8 );
8376 goto -> bb5;
8477 }
8578
8679 bb5 : {
80+ StorageDead(_6);
8781 StorageDead(_8);
88- StorageDead(_10);
89- _12 = discriminant(_9);
90- switchInt(move _12) -> [0 : bb6, 1: bb8, otherwise: bb10];
82+ _10 = discriminant(_7);
83+ switchInt(move _10) -> [0 : bb6, 1: bb8, otherwise: bb10];
9184 }
9285
9386 bb6 : {
94- StorageDead(_9 );
95- StorageDead(_5 );
87+ StorageDead(_7 );
88+ StorageDead(_4 );
9689 drop(_3) -> [return : bb7, unwind unreachable];
9790 }
9891
@@ -101,18 +94,18 @@ fn forward_loop(_1: u32, _2: u32, _3: impl Fn(u32)) -> () {
10194 }
10295
10396 bb8 : {
104- _13 = ((_9 as Some).0 : u32);
105- StorageLive(_14 );
106- _14 = &_3;
107- StorageLive(_15 );
108- _15 = (_13 ,);
109- _16 = <impl Fn(u32) as Fn<(u32,)>>::call(move _14 , move _15 ) -> [return : bb9, unwind unreachable];
97+ _11 = ((_7 as Some).0 : u32);
98+ StorageLive(_12 );
99+ _12 = &_3;
100+ StorageLive(_13 );
101+ _13 = (_11 ,);
102+ _14 = <impl Fn(u32) as Fn<(u32,)>>::call(move _12 , move _13 ) -> [return : bb9, unwind unreachable];
110103 }
111104
112105 bb9 : {
113- StorageDead(_15 );
114- StorageDead(_14 );
115- StorageDead(_9 );
106+ StorageDead(_13 );
107+ StorageDead(_12 );
108+ StorageDead(_7 );
116109 goto -> bb1;
117110 }
118111
0 commit comments