|
30 | 30 | scope 3 {
|
31 | 31 | debug precision => _10; // in scope 3 at $DIR/funky_arms.rs:+13:17: +13:26
|
32 | 32 | let _10: usize; // in scope 3 at $DIR/funky_arms.rs:+13:17: +13:26
|
| 33 | + scope 5 (inlined Formatter::precision) { // at $DIR/funky_arms.rs:24:30: 24:45 |
| 34 | + debug self => _8; // in scope 5 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 35 | + } |
33 | 36 | }
|
34 | 37 | }
|
35 | 38 | }
|
| 39 | + scope 4 (inlined Formatter::sign_plus) { // at $DIR/funky_arms.rs:15:22: 15:37 |
| 40 | + debug self => _5; // in scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 41 | + let mut _22: u32; // in scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 42 | + let mut _23: u32; // in scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 43 | + let mut _24: u32; // in scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 44 | + } |
36 | 45 |
|
37 | 46 | bb0: {
|
38 | 47 | StorageLive(_4); // scope 0 at $DIR/funky_arms.rs:+4:9: +4:19
|
39 | 48 | StorageLive(_5); // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37
|
40 | 49 | _5 = &(*_1); // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37
|
41 |
| - _4 = Formatter::sign_plus(move _5) -> bb1; // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37 |
42 |
| - // mir::Constant |
43 |
| - // + span: $DIR/funky_arms.rs:15:26: 15:35 |
44 |
| - // + literal: Const { ty: for<'r> fn(&'r Formatter) -> bool {Formatter::sign_plus}, val: Value(<ZST>) } |
45 |
| - } |
46 |
| - |
47 |
| - bb1: { |
| 50 | + StorageLive(_22); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 51 | + StorageLive(_23); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 52 | + _23 = ((*_5).0: u32); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 53 | + StorageLive(_24); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 54 | + _24 = const 1_u32; // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 55 | +- _22 = BitAnd(move _23, move _24); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 56 | ++ _22 = BitAnd(move _23, const 1_u32); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 57 | + StorageDead(_24); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 58 | + StorageDead(_23); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 59 | + _4 = Ne(move _22, const 0_u32); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
| 60 | + StorageDead(_22); // scope 4 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
48 | 61 | StorageDead(_5); // scope 0 at $DIR/funky_arms.rs:+4:36: +4:37
|
49 | 62 | StorageLive(_6); // scope 1 at $DIR/funky_arms.rs:+8:9: +8:13
|
50 |
| - switchInt(_4) -> [false: bb3, otherwise: bb2]; // scope 1 at $DIR/funky_arms.rs:+8:16: +8:32 |
| 63 | + switchInt(_4) -> [false: bb2, otherwise: bb1]; // scope 1 at $DIR/funky_arms.rs:+8:16: +8:32 |
51 | 64 | }
|
52 | 65 |
|
53 |
| - bb2: { |
| 66 | + bb1: { |
54 | 67 | Deinit(_6); // scope 1 at $DIR/funky_arms.rs:+10:17: +10:41
|
55 | 68 | discriminant(_6) = 1; // scope 1 at $DIR/funky_arms.rs:+10:17: +10:41
|
56 |
| - goto -> bb4; // scope 1 at $DIR/funky_arms.rs:+10:17: +10:41 |
| 69 | + goto -> bb3; // scope 1 at $DIR/funky_arms.rs:+10:17: +10:41 |
57 | 70 | }
|
58 | 71 |
|
59 |
| - bb3: { |
| 72 | + bb2: { |
60 | 73 | Deinit(_6); // scope 1 at $DIR/funky_arms.rs:+9:18: +9:38
|
61 | 74 | discriminant(_6) = 0; // scope 1 at $DIR/funky_arms.rs:+9:18: +9:38
|
62 |
| - goto -> bb4; // scope 1 at $DIR/funky_arms.rs:+9:18: +9:38 |
| 75 | + goto -> bb3; // scope 1 at $DIR/funky_arms.rs:+9:18: +9:38 |
63 | 76 | }
|
64 | 77 |
|
65 |
| - bb4: { |
| 78 | + bb3: { |
66 | 79 | StorageLive(_7); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
67 | 80 | StorageLive(_8); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
68 | 81 | _8 = &(*_1); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
69 |
| - _7 = Formatter::precision(move _8) -> bb5; // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45 |
70 |
| - // mir::Constant |
71 |
| - // + span: $DIR/funky_arms.rs:24:34: 24:43 |
72 |
| - // + literal: Const { ty: for<'r> fn(&'r Formatter) -> Option<usize> {Formatter::precision}, val: Value(<ZST>) } |
73 |
| - } |
74 |
| - |
75 |
| - bb5: { |
| 82 | + _7 = ((*_8).4: std::option::Option<usize>); // scope 5 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL |
76 | 83 | StorageDead(_8); // scope 3 at $DIR/funky_arms.rs:+13:44: +13:45
|
77 | 84 | _9 = discriminant(_7); // scope 3 at $DIR/funky_arms.rs:+13:12: +13:27
|
78 |
| - switchInt(move _9) -> [1_isize: bb6, otherwise: bb8]; // scope 3 at $DIR/funky_arms.rs:+13:12: +13:27 |
| 85 | + switchInt(move _9) -> [1_isize: bb4, otherwise: bb6]; // scope 3 at $DIR/funky_arms.rs:+13:12: +13:27 |
79 | 86 | }
|
80 | 87 |
|
81 |
| - bb6: { |
| 88 | + bb4: { |
82 | 89 | StorageLive(_10); // scope 3 at $DIR/funky_arms.rs:+13:17: +13:26
|
83 | 90 | _10 = ((_7 as Some).0: usize); // scope 3 at $DIR/funky_arms.rs:+13:17: +13:26
|
84 | 91 | StorageLive(_11); // scope 3 at $DIR/funky_arms.rs:+15:43: +15:46
|
|
97 | 104 | StorageDead(_15); // scope 3 at $DIR/funky_arms.rs:+15:78: +15:79
|
98 | 105 | StorageLive(_17); // scope 3 at $DIR/funky_arms.rs:+15:81: +15:86
|
99 | 106 | _17 = _3; // scope 3 at $DIR/funky_arms.rs:+15:81: +15:86
|
100 |
| - _0 = float_to_exponential_common_exact::<T>(move _11, move _12, move _13, move _14, move _17) -> bb7; // scope 3 at $DIR/funky_arms.rs:+15:9: +15:87 |
| 107 | + _0 = float_to_exponential_common_exact::<T>(move _11, move _12, move _13, move _14, move _17) -> bb5; // scope 3 at $DIR/funky_arms.rs:+15:9: +15:87 |
101 | 108 | // mir::Constant
|
102 | 109 | // + span: $DIR/funky_arms.rs:26:9: 26:42
|
103 | 110 | // + literal: Const { ty: for<'r, 's, 't0> fn(&'r mut Formatter<'s>, &'t0 T, Sign, u32, bool) -> Result<(), std::fmt::Error> {float_to_exponential_common_exact::<T>}, val: Value(<ZST>) }
|
104 | 111 | }
|
105 | 112 |
|
106 |
| - bb7: { |
| 113 | + bb5: { |
107 | 114 | StorageDead(_17); // scope 3 at $DIR/funky_arms.rs:+15:86: +15:87
|
108 | 115 | StorageDead(_14); // scope 3 at $DIR/funky_arms.rs:+15:86: +15:87
|
109 | 116 | StorageDead(_13); // scope 3 at $DIR/funky_arms.rs:+15:86: +15:87
|
110 | 117 | StorageDead(_12); // scope 3 at $DIR/funky_arms.rs:+15:86: +15:87
|
111 | 118 | StorageDead(_11); // scope 3 at $DIR/funky_arms.rs:+15:86: +15:87
|
112 | 119 | StorageDead(_10); // scope 2 at $DIR/funky_arms.rs:+16:5: +16:6
|
113 |
| - goto -> bb10; // scope 2 at $DIR/funky_arms.rs:+13:5: +18:6 |
| 120 | + goto -> bb8; // scope 2 at $DIR/funky_arms.rs:+13:5: +18:6 |
114 | 121 | }
|
115 | 122 |
|
116 |
| - bb8: { |
| 123 | + bb6: { |
117 | 124 | StorageLive(_18); // scope 2 at $DIR/funky_arms.rs:+17:46: +17:49
|
118 | 125 | _18 = &mut (*_1); // scope 2 at $DIR/funky_arms.rs:+17:46: +17:49
|
119 | 126 | StorageLive(_19); // scope 2 at $DIR/funky_arms.rs:+17:51: +17:54
|
|
122 | 129 | _20 = _6; // scope 2 at $DIR/funky_arms.rs:+17:56: +17:60
|
123 | 130 | StorageLive(_21); // scope 2 at $DIR/funky_arms.rs:+17:62: +17:67
|
124 | 131 | _21 = _3; // scope 2 at $DIR/funky_arms.rs:+17:62: +17:67
|
125 |
| - _0 = float_to_exponential_common_shortest::<T>(move _18, move _19, move _20, move _21) -> bb9; // scope 2 at $DIR/funky_arms.rs:+17:9: +17:68 |
| 132 | + _0 = float_to_exponential_common_shortest::<T>(move _18, move _19, move _20, move _21) -> bb7; // scope 2 at $DIR/funky_arms.rs:+17:9: +17:68 |
126 | 133 | // mir::Constant
|
127 | 134 | // + span: $DIR/funky_arms.rs:28:9: 28:45
|
128 | 135 | // + literal: Const { ty: for<'r, 's, 't0> fn(&'r mut Formatter<'s>, &'t0 T, Sign, bool) -> Result<(), std::fmt::Error> {float_to_exponential_common_shortest::<T>}, val: Value(<ZST>) }
|
129 | 136 | }
|
130 | 137 |
|
131 |
| - bb9: { |
| 138 | + bb7: { |
132 | 139 | StorageDead(_21); // scope 2 at $DIR/funky_arms.rs:+17:67: +17:68
|
133 | 140 | StorageDead(_20); // scope 2 at $DIR/funky_arms.rs:+17:67: +17:68
|
134 | 141 | StorageDead(_19); // scope 2 at $DIR/funky_arms.rs:+17:67: +17:68
|
135 | 142 | StorageDead(_18); // scope 2 at $DIR/funky_arms.rs:+17:67: +17:68
|
136 |
| - goto -> bb10; // scope 2 at $DIR/funky_arms.rs:+13:5: +18:6 |
| 143 | + goto -> bb8; // scope 2 at $DIR/funky_arms.rs:+13:5: +18:6 |
137 | 144 | }
|
138 | 145 |
|
139 |
| - bb10: { |
| 146 | + bb8: { |
140 | 147 | StorageDead(_6); // scope 1 at $DIR/funky_arms.rs:+19:1: +19:2
|
141 | 148 | StorageDead(_4); // scope 0 at $DIR/funky_arms.rs:+19:1: +19:2
|
142 | 149 | StorageDead(_7); // scope 0 at $DIR/funky_arms.rs:+19:1: +19:2
|
|
0 commit comments