mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
473 B
Rust
12 lines
473 B
Rust
// MIR for `const_divisor` after PreCodegen
|
|
|
|
fn const_divisor(_1: i32) -> i32 {
|
|
debug a => _1; // in scope 0 at $DIR/div_overflow.rs:+0:22: +0:23
|
|
let mut _0: i32; // return place in scope 0 at $DIR/div_overflow.rs:+0:33: +0:36
|
|
|
|
bb0: {
|
|
_0 = Div(move _1, const 256_i32); // scope 0 at $DIR/div_overflow.rs:+1:5: +1:12
|
|
return; // scope 0 at $DIR/div_overflow.rs:+2:2: +2:2
|
|
}
|
|
}
|