rust/tests/mir-opt/lower_intrinsics.size_of.LowerIntrinsics.panic-unwind.diff

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

18 lines
352 B
Diff
Raw Normal View History

- // MIR for `size_of` before LowerIntrinsics
+ // MIR for `size_of` after LowerIntrinsics
fn size_of() -> usize {
2023-06-06 08:47:00 -05:00
let mut _0: usize;
bb0: {
2023-06-06 08:47:00 -05:00
- _0 = std::intrinsics::size_of::<T>() -> [return: bb1, unwind unreachable];
+ _0 = SizeOf(T);
+ goto -> bb1;
}
bb1: {
2023-06-06 08:47:00 -05:00
return;
}
}