]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisa
[rust.git] / tests / mir-opt / asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
1 // MIR for `main` after AbortUnwindingCalls
2
3 fn main() -> () {
4     let mut _0: ();                      // return place in scope 0 at $DIR/asm_unwind_panic_abort.rs:+0:11: +0:11
5     let _1: ();                          // in scope 0 at $DIR/asm_unwind_panic_abort.rs:+2:9: +2:49
6     scope 1 {
7     }
8
9     bb0: {
10         StorageLive(_1);                 // scope 1 at $DIR/asm_unwind_panic_abort.rs:+2:9: +2:49
11         _1 = const ();                   // scope 1 at $DIR/asm_unwind_panic_abort.rs:+2:9: +2:49
12         asm!("", options(MAY_UNWIND)) -> [return: bb1, unwind: bb2]; // scope 1 at $DIR/asm_unwind_panic_abort.rs:+2:9: +2:49
13     }
14
15     bb1: {
16         StorageDead(_1);                 // scope 1 at $DIR/asm_unwind_panic_abort.rs:+2:48: +2:49
17         _0 = const ();                   // scope 1 at $DIR/asm_unwind_panic_abort.rs:+1:5: +3:6
18         return;                          // scope 0 at $DIR/asm_unwind_panic_abort.rs:+4:2: +4:2
19     }
20
21     bb2 (cleanup): {
22         abort;                           // scope 0 at $DIR/asm_unwind_panic_abort.rs:+0:1: +4:2
23     }
24 }