2020-11-13 18:00:00 -06:00
|
|
|
- // 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;
|
2020-11-13 18:00:00 -06:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
- _0 = std::intrinsics::size_of::<T>() -> [return: bb1, unwind unreachable];
|
|
|
|
+ _0 = SizeOf(T);
|
|
|
|
+ goto -> bb1;
|
2020-11-13 18:00:00 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
return;
|
2020-11-13 18:00:00 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|