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