mirror of https://github.com/rust-lang/rust.git
22 lines
415 B
Diff
22 lines
415 B
Diff
- // MIR for `caller` before ForceInline
|
|
+ // MIR for `caller` after ForceInline
|
|
|
|
fn caller() -> () {
|
|
let mut _0: ();
|
|
let _1: ();
|
|
+ scope 1 (inlined callee_forced) {
|
|
+ }
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
- _1 = callee_forced() -> [return: bb1, unwind unreachable];
|
|
- }
|
|
-
|
|
- bb1: {
|
|
StorageDead(_1);
|
|
_0 = const ();
|
|
return;
|
|
}
|
|
}
|
|
|