22 lines
413 B
Diff
22 lines
413 B
Diff
- // MIR for `size_of` before ConstProp
|
|
+ // MIR for `size_of` after ConstProp
|
|
|
|
fn size_of() -> usize {
|
|
let mut _0: usize;
|
|
let mut _1: usize;
|
|
scope 1 {
|
|
debug a => _1;
|
|
}
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
_1 = const 0_usize;
|
|
_1 = const _;
|
|
- _0 = _1;
|
|
+ _0 = const 0_usize;
|
|
StorageDead(_1);
|
|
return;
|
|
}
|
|
}
|
|
|