mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 05:23:07 +00:00
Remove unneeded assumption.
This commit is contained in:
parent
45b87fb401
commit
832ccdc8df
@ -327,7 +327,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
||||
(Float(_), Int(_, is_signed)) => bx.cast_float_to_int(is_signed, imm, to_backend_ty),
|
||||
_ => return None,
|
||||
};
|
||||
self.assume_scalar_range(bx, imm, to_scalar, to_backend_ty);
|
||||
Some(imm)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user