|
10 | 10 | + scope 1 (inlined core::num::<impl u16>::unchecked_shl) { // at $DIR/unchecked_shifts.rs:11:7: 11:23
|
11 | 11 | + debug self => _3; // in scope 1 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL
|
12 | 12 | + debug rhs => _4; // in scope 1 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL
|
13 |
| -+ let mut _5: u16; // in scope 1 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
| 13 | ++ let mut _5: u16; // in scope 1 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 14 | ++ let mut _6: (u32,); // in scope 1 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
14 | 15 | + scope 2 {
|
15 | 16 | + }
|
16 | 17 | + }
|
|
21 | 22 | StorageLive(_4); // scope 0 at $DIR/unchecked_shifts.rs:+1:21: +1:22
|
22 | 23 | _4 = _2; // scope 0 at $DIR/unchecked_shifts.rs:+1:21: +1:22
|
23 | 24 | - _0 = core::num::<impl u16>::unchecked_shl(move _3, move _4) -> bb1; // scope 0 at $DIR/unchecked_shifts.rs:+1:5: +1:23
|
24 |
| -+ StorageLive(_5); // scope 0 at $DIR/unchecked_shifts.rs:+1:7: +1:23 |
25 |
| -+ _5 = _4 as u16 (IntToInt); // scope 2 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
26 |
| -+ _0 = unchecked_shl::<u16>(_3, _5) -> [return: bb1, unwind unreachable]; // scope 2 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
| 25 | ++ StorageLive(_5); // scope 2 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 26 | ++ StorageLive(_6); // scope 2 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 27 | ++ _6 = (_4,); // scope 2 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 28 | ++ _5 = core::num::<impl u16>::unchecked_shl::conv(move (_6.0: u32)) -> bb1; // scope 2 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
27 | 29 | // mir::Constant
|
28 | 30 | - // + span: $DIR/unchecked_shifts.rs:11:7: 11:20
|
29 | 31 | - // + literal: Const { ty: unsafe fn(u16, u32) -> u16 {core::num::<impl u16>::unchecked_shl}, val: Value(<ZST>) }
|
30 |
| -+ // + span: $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
31 |
| -+ // + literal: Const { ty: unsafe extern "rust-intrinsic" fn(u16, u16) -> u16 {unchecked_shl::<u16>}, val: Value(<ZST>) } |
| 32 | ++ // + span: $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 33 | ++ // + literal: Const { ty: fn(u32) -> u16 {core::num::<impl u16>::unchecked_shl::conv}, val: Value(<ZST>) } |
32 | 34 | }
|
33 | 35 |
|
34 | 36 | bb1: {
|
35 |
| -+ StorageDead(_5); // scope 0 at $DIR/unchecked_shifts.rs:+1:7: +1:23 |
| 37 | ++ StorageDead(_6); // scope 2 at $SRC_DIR/core/src/num/mod.rs:LL:COL |
| 38 | ++ _0 = unchecked_shl::<u16>(_3, move _5) -> [return: bb2, unwind unreachable]; // scope 2 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
| 39 | ++ // mir::Constant |
| 40 | ++ // + span: $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
| 41 | ++ // + literal: Const { ty: unsafe extern "rust-intrinsic" fn(u16, u16) -> u16 {unchecked_shl::<u16>}, val: Value(<ZST>) } |
| 42 | ++ } |
| 43 | ++ |
| 44 | ++ bb2: { |
| 45 | ++ StorageDead(_5); // scope 2 at $SRC_DIR/core/src/num/uint_macros.rs:LL:COL |
36 | 46 | StorageDead(_4); // scope 0 at $DIR/unchecked_shifts.rs:+1:22: +1:23
|
37 | 47 | StorageDead(_3); // scope 0 at $DIR/unchecked_shifts.rs:+1:22: +1:23
|
38 | 48 | return; // scope 0 at $DIR/unchecked_shifts.rs:+2:2: +2:2
|
|
0 commit comments