17 lines
772 B
Rust
17 lines
772 B
Rust
// MIR for `manual_replace` after PreCodegen
|
|
|
|
fn manual_replace(_1: &mut u32, _2: u32) -> u32 {
|
|
debug r => _1; // in scope 0 at $DIR/mem_replace.rs:+0:23: +0:24
|
|
debug v => _2; // in scope 0 at $DIR/mem_replace.rs:+0:36: +0:37
|
|
let mut _0: u32; // return place in scope 0 at $DIR/mem_replace.rs:+1:9: +1:13
|
|
scope 1 {
|
|
debug temp => _0; // in scope 1 at $DIR/mem_replace.rs:+1:9: +1:13
|
|
}
|
|
|
|
bb0: {
|
|
_0 = (*_1); // scope 0 at $DIR/mem_replace.rs:+1:16: +1:18
|
|
(*_1) = _2; // scope 1 at $DIR/mem_replace.rs:+2:5: +2:11
|
|
return; // scope 0 at $DIR/mem_replace.rs:+4:2: +4:2
|
|
}
|
|
}
|