2021-09-10 18:54:10 -05:00
|
|
|
- // MIR for `align_of` before LowerIntrinsics
|
|
|
|
+ // MIR for `align_of` after LowerIntrinsics
|
|
|
|
|
|
|
|
fn align_of() -> usize {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: usize;
|
2021-09-10 18:54:10 -05:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
- _0 = std::intrinsics::min_align_of::<T>() -> [return: bb1, unwind unreachable];
|
|
|
|
+ _0 = AlignOf(T);
|
|
|
|
+ goto -> bb1;
|
2021-09-10 18:54:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
return;
|
2021-09-10 18:54:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|