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

22 lines
437 B
Diff
Raw Normal View History

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