rust/tests/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.panic-unwind.diff

22 lines
452 B
Diff
Raw Normal View History

- // MIR for `inlined_target_feature` before Inline
+ // MIR for `inlined_target_feature` after Inline
fn inlined_target_feature() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: ();
+ scope 1 (inlined target_feature) {
+ }
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
2023-06-23 11:53:09 -05:00
- _1 = target_feature() -> [return: bb1, unwind continue];
- }
-
- bb1: {
2023-06-06 08:47:00 -05:00
StorageDead(_1);
_0 = const ();
return;
}
}