renamed Immediate::to_scalar_or_undef
to Immediate::to_scalar_or_uninit in src/shims/intrinsics.rs related issue #71193
This commit is contained in:
parent
5161ba346c
commit
21268157ff
@ -392,7 +392,7 @@ fn call_intrinsic(
|
||||
|
||||
// `binary_op` will bail if either of them is not a scalar.
|
||||
let eq = this.overflowing_binary_op(mir::BinOp::Eq, old, expect_old)?.0;
|
||||
let res = Immediate::ScalarPair(old.to_scalar_or_undef(), eq.into());
|
||||
let res = Immediate::ScalarPair(old.to_scalar_or_uninit(), eq.into());
|
||||
// Return old value.
|
||||
this.write_immediate(res, dest)?;
|
||||
// Update ptr depending on comparison.
|
||||
|
Loading…
Reference in New Issue
Block a user