]>
Commit | Line | Data |
---|---|---|
ba9703b0 XL |
1 | - // MIR for `baz` before CopyPropagation |
2 | + // MIR for `baz` after CopyPropagation | |
3 | ||
4 | fn baz(_1: i32) -> () { | |
5 | debug x => _1; // in scope 0 at $DIR/copy_propagation_arg.rs:21:8: 21:13 | |
6 | let mut _0: (); // return place in scope 0 at $DIR/copy_propagation_arg.rs:21:20: 21:20 | |
7 | let mut _2: i32; // in scope 0 at $DIR/copy_propagation_arg.rs:23:9: 23:10 | |
8 | ||
9 | bb0: { | |
f9f354fc XL |
10 | StorageLive(_2); // scope 0 at $DIR/copy_propagation_arg.rs:23:9: 23:10 |
11 | _2 = _1; // scope 0 at $DIR/copy_propagation_arg.rs:23:9: 23:10 | |
12 | _1 = move _2; // scope 0 at $DIR/copy_propagation_arg.rs:23:5: 23:10 | |
13 | StorageDead(_2); // scope 0 at $DIR/copy_propagation_arg.rs:23:9: 23:10 | |
14 | _0 = const (); // scope 0 at $DIR/copy_propagation_arg.rs:21:20: 24:2 | |
f9f354fc | 15 | return; // scope 0 at $DIR/copy_propagation_arg.rs:24:2: 24:2 |
ba9703b0 XL |
16 | } |
17 | } | |
18 |