rust/tests/mir-opt/enum_opt.invalid.EnumSizeOpt.32bit.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
661 B
Diff
Raw Normal View History

- // MIR for `invalid` before EnumSizeOpt
+ // MIR for `invalid` after EnumSizeOpt
2023-02-05 22:14:40 +00:00
fn invalid() -> InvalidIdxs {
2023-06-06 13:47:00 +00:00
let mut _0: InvalidIdxs;
let mut _1: InvalidIdxs;
let mut _2: InvalidIdxs;
let mut _3: [u64; 1024];
scope 1 {
2023-06-06 13:47:00 +00:00
debug a => _1;
}
bb0: {
2023-06-06 13:47:00 +00:00
StorageLive(_1);
_1 = InvalidIdxs::A;
StorageLive(_2);
StorageLive(_3);
_3 = [const 0_u64; 1024];
_2 = InvalidIdxs::Large(move _3);
StorageDead(_3);
_1 = move _2;
StorageDead(_2);
_0 = move _1;
StorageDead(_1);
return;
}
}