mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
simplify code
This commit is contained in:
@@ -306,7 +306,7 @@ fn call_intrinsic(
|
||||
match dest.layout.abi {
|
||||
layout::Abi::Scalar(ref s) => {
|
||||
let x = Scalar::from_int(0, s.value.size(this));
|
||||
this.write_immediate(Immediate::Scalar(x.into()), dest)?;
|
||||
this.write_scalar(x, dest)?;
|
||||
}
|
||||
layout::Abi::ScalarPair(ref s1, ref s2) => {
|
||||
let x = Scalar::from_int(0, s1.value.size(this));
|
||||
|
||||
Reference in New Issue
Block a user