2020-09-04 00:00:00 +00:00
|
|
|
- // MIR for `not_inlined_target_feature` before Inline
|
|
|
|
+ // MIR for `not_inlined_target_feature` after Inline
|
|
|
|
|
|
|
|
fn not_inlined_target_feature() -> () {
|
2022-11-02 14:54:49 -07:00
|
|
|
let mut _0: (); // return place in scope 0 at $DIR/inline_compatibility.rs:+0:44: +0:44
|
|
|
|
let _1: (); // in scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
|
2020-09-04 00:00:00 +00:00
|
|
|
|
|
|
|
bb0: {
|
2022-11-02 14:54:49 -07:00
|
|
|
StorageLive(_1); // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
|
|
|
|
_1 = target_feature() -> bb1; // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:21
|
2020-09-04 00:00:00 +00:00
|
|
|
// mir::Constant
|
2023-03-02 13:41:17 +01:00
|
|
|
// + span: $DIR/inline_compatibility.rs:18:5: 18:19
|
2022-07-06 10:14:46 -04:00
|
|
|
// + literal: Const { ty: unsafe fn() {target_feature}, val: Value(<ZST>) }
|
2020-09-04 00:00:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2022-11-02 14:54:49 -07:00
|
|
|
StorageDead(_1); // scope 0 at $DIR/inline_compatibility.rs:+1:21: +1:22
|
|
|
|
_0 = const (); // scope 0 at $DIR/inline_compatibility.rs:+0:44: +2:2
|
|
|
|
return; // scope 0 at $DIR/inline_compatibility.rs:+2:2: +2:2
|
2020-09-04 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|