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