rust/tests/mir-opt/pre-codegen/spans.outer.PreCodegen.after.panic-unwind.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
1.0 KiB
Rust
Raw Normal View History

2023-06-06 08:47:00 -05:00
// MIR for `outer` after PreCodegen
fn outer(_1: u8) -> u8 {
debug v => _1; // in scope 0 at $DIR/spans.rs:10:14: 10:15
let mut _0: u8; // return place in scope 0 at $DIR/spans.rs:10:24: 10:26
2023-03-12 09:10:30 -05:00
let mut _2: &u8; // in scope 0 at $DIR/spans.rs:11:11: 11:13
2023-06-06 08:47:00 -05:00
bb0: {
2023-03-12 09:10:30 -05:00
StorageLive(_2); // scope 0 at $DIR/spans.rs:11:11: 11:13
2023-06-06 08:47:00 -05:00
_2 = &_1; // scope 0 at $DIR/spans.rs:11:11: 11:13
2023-03-12 09:10:30 -05:00
_0 = inner(move _2) -> [return: bb1, unwind continue]; // scope 0 at $DIR/spans.rs:11:5: 11:14
2023-06-06 08:47:00 -05:00
// mir::Constant
// + span: $DIR/spans.rs:11:5: 11:10
// + literal: Const { ty: for<'a> fn(&'a u8) -> u8 {inner}, val: Value(<ZST>) }
}
bb1: {
2023-03-12 09:10:30 -05:00
StorageDead(_2); // scope 0 at $DIR/spans.rs:11:13: 11:14
2023-06-06 08:47:00 -05:00
return; // scope 0 at $DIR/spans.rs:12:2: 12:2
}
}