rust/tests/mir-opt/inline/inline_diverging.f.Inline.panic-unwind.diff
2023-06-23 18:36:25 +01:00

22 lines
352 B
Diff

- // MIR for `f` before Inline
+ // MIR for `f` after Inline
fn f() -> () {
let mut _0: ();
let mut _1: !;
let _2: !;
+ scope 1 (inlined sleep) {
+ }
bb0: {
StorageLive(_2);
- _2 = sleep() -> unwind continue;
+ goto -> bb1;
+ }
+
+ bb1: {
+ goto -> bb1;
}
}