]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/inline/inline_compatibility.not_inlined_target_feature.Inline.diff
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / mir-opt / inline / inline_compatibility.not_inlined_target_feature.Inline.diff
CommitLineData
1b1a35ee
XL
1- // MIR for `not_inlined_target_feature` before Inline
2+ // MIR for `not_inlined_target_feature` after Inline
3
4 fn not_inlined_target_feature() -> () {
fc512014
XL
5 let mut _0: (); // return place in scope 0 at $DIR/inline-compatibility.rs:17:44: 17:44
6 let _1: (); // in scope 0 at $DIR/inline-compatibility.rs:18:5: 18:21
1b1a35ee
XL
7
8 bb0: {
fc512014
XL
9 StorageLive(_1); // scope 0 at $DIR/inline-compatibility.rs:18:5: 18:21
10 _1 = target_feature() -> bb1; // scope 0 at $DIR/inline-compatibility.rs:18:5: 18:21
1b1a35ee 11 // mir::Constant
fc512014 12 // + span: $DIR/inline-compatibility.rs:18:5: 18:19
1b1a35ee
XL
13 // + literal: Const { ty: unsafe fn() {target_feature}, val: Value(Scalar(<ZST>)) }
14 }
15
16 bb1: {
fc512014
XL
17 StorageDead(_1); // scope 0 at $DIR/inline-compatibility.rs:18:21: 18:22
18 _0 = const (); // scope 0 at $DIR/inline-compatibility.rs:17:44: 19:2
19 return; // scope 0 at $DIR/inline-compatibility.rs:19:2: 19:2
1b1a35ee
XL
20 }
21 }
22