blob: a9ea8869a9698cefd6f1962c276f198b3d454c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
- // MIR for `d1` before SimplifyLocals
+ // MIR for `d1` after SimplifyLocals
fn d1() -> () {
let mut _0: (); // return place in scope 0 at $DIR/simplify-locals.rs:+0:9: +0:9
- let mut _1: E; // in scope 0 at $DIR/simplify-locals.rs:+2:13: +2:17
scope 1 {
}
bb0: {
- StorageLive(_1); // scope 0 at $DIR/simplify-locals.rs:+2:13: +2:17
- Deinit(_1); // scope 0 at $DIR/simplify-locals.rs:+2:13: +2:17
- discriminant(_1) = 0; // scope 0 at $DIR/simplify-locals.rs:+2:13: +2:17
- StorageDead(_1); // scope 0 at $DIR/simplify-locals.rs:+2:17: +2:18
_0 = const (); // scope 0 at $DIR/simplify-locals.rs:+0:9: +3:2
return; // scope 0 at $DIR/simplify-locals.rs:+3:2: +3:2
}
}
|