1 - // MIR for `non_const` before LowerIntrinsics
2 + // MIR for `non_const` after LowerIntrinsics
4 fn non_const() -> usize {
5 let mut _0: usize; // return place in scope 0 at $DIR/lower_intrinsics.rs:60:26: 60:31
6 let _1: extern "rust-intrinsic" fn() -> usize {std::intrinsics::size_of::<T>}; // in scope 0 at $DIR/lower_intrinsics.rs:62:9: 62:18
7 let mut _2: extern "rust-intrinsic" fn() -> usize {std::intrinsics::size_of::<T>}; // in scope 0 at $DIR/lower_intrinsics.rs:63:5: 63:14
9 debug size_of_t => _1; // in scope 1 at $DIR/lower_intrinsics.rs:62:9: 62:18
13 StorageLive(_1); // scope 0 at $DIR/lower_intrinsics.rs:62:9: 62:18
14 _1 = std::intrinsics::size_of::<T>; // scope 0 at $DIR/lower_intrinsics.rs:62:21: 62:51
16 // + span: $DIR/lower_intrinsics.rs:62:21: 62:51
17 // + literal: Const { ty: extern "rust-intrinsic" fn() -> usize {std::intrinsics::size_of::<T>}, val: Value(<ZST>) }
18 StorageLive(_2); // scope 1 at $DIR/lower_intrinsics.rs:63:5: 63:14
19 _2 = _1; // scope 1 at $DIR/lower_intrinsics.rs:63:5: 63:14
20 - _0 = move _2() -> bb1; // scope 1 at $DIR/lower_intrinsics.rs:63:5: 63:16
21 + _0 = SizeOf(T); // scope 1 at $DIR/lower_intrinsics.rs:63:5: 63:16
22 + goto -> bb1; // scope 1 at $DIR/lower_intrinsics.rs:63:5: 63:16
26 StorageDead(_2); // scope 1 at $DIR/lower_intrinsics.rs:63:15: 63:16
27 StorageDead(_1); // scope 0 at $DIR/lower_intrinsics.rs:64:1: 64:2
28 return; // scope 0 at $DIR/lower_intrinsics.rs:64:2: 64:2
32 resume; // scope 0 at $DIR/lower_intrinsics.rs:60:1: 64:2