mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
18 lines
361 B
Diff
18 lines
361 B
Diff
- // MIR for `align_of` before LowerIntrinsics
|
|
+ // MIR for `align_of` after LowerIntrinsics
|
|
|
|
fn align_of() -> usize {
|
|
let mut _0: usize;
|
|
|
|
bb0: {
|
|
- _0 = std::intrinsics::min_align_of::<T>() -> [return: bb1, unwind unreachable];
|
|
+ _0 = AlignOf(T);
|
|
+ goto -> bb1;
|
|
}
|
|
|
|
bb1: {
|
|
return;
|
|
}
|
|
}
|
|
|