2020-04-04 12:15:01 -05:00
|
|
|
- // MIR for `main` before ConstProp
|
|
|
|
+ // MIR for `main` after ConstProp
|
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
|
|
|
let _1: ();
|
|
|
|
let mut _2: ((), u8, u8);
|
2020-04-04 12:15:01 -05:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_2);
|
2023-02-08 15:05:56 -06:00
|
|
|
- _2 = (const (), const 0_u8, const 0_u8);
|
|
|
|
- _1 = encode(move _2) -> [return: bb1, unwind continue];
|
|
|
|
+ _2 = const ((), 0_u8, 0_u8);
|
|
|
|
+ _1 = encode(const ((), 0_u8, 0_u8)) -> [return: bb1, unwind continue];
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageDead(_2);
|
|
|
|
return;
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
2023-09-12 04:33:58 -05:00
|
|
|
+ }
|
|
|
|
+
|
2023-10-15 12:00:11 -05:00
|
|
|
+ ALLOC0 (size: 2, align: 1) {
|
2023-09-12 04:33:58 -05:00
|
|
|
+ 00 00 │ ..
|
|
|
|
+ }
|
|
|
|
+
|
2023-10-15 12:00:11 -05:00
|
|
|
+ ALLOC1 (size: 2, align: 1) {
|
2023-09-12 04:33:58 -05:00
|
|
|
+ 00 00 │ ..
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
|
|
|
|