mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
a277c901d9
This also remove safety information from MIR.
14 lines
304 B
Diff
14 lines
304 B
Diff
- // MIR for `invalid_char` before GVN
|
|
+ // MIR for `invalid_char` after GVN
|
|
|
|
fn invalid_char() -> char {
|
|
let mut _0: char;
|
|
|
|
bb0: {
|
|
- _0 = const core::num::<impl i32>::MAX as char (Transmute);
|
|
+ _0 = const {transmute(0x7fffffff): char};
|
|
return;
|
|
}
|
|
}
|
|
|