]> git.proxmox.com Git - rustc.git/blame - tests/mir-opt/asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / mir-opt / asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
CommitLineData
923072b8
FG
1// MIR for `main` after AbortUnwindingCalls
2
3fn main() -> () {
064997fb
FG
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
923072b8
FG
6 scope 1 {
7 }
8
9 bb0: {
064997fb
FG
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
353b0b11 12 asm!("", options(MAY_UNWIND)) -> [return: bb1, unwind terminate]; // scope 1 at $DIR/asm_unwind_panic_abort.rs:+2:9: +2:49
923072b8
FG
13 }
14
15 bb1: {
064997fb
FG
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
923072b8 19 }
923072b8 20}