Rebase fallout
This commit is contained in:
parent
475139997a
commit
400f997de3
@ -226,8 +226,8 @@ pub fn to_scalar_ptr(self) -> EvalResult<'tcx, Scalar<Tag>> {
|
||||
#[inline]
|
||||
pub fn to_meta(self) -> EvalResult<'tcx, Option<Scalar<Tag>>> {
|
||||
Ok(match self {
|
||||
Value::Scalar(_) => None,
|
||||
Value::ScalarPair(_, meta) => Some(meta.not_undef()?),
|
||||
Immediate::Scalar(_) => None,
|
||||
Immediate::ScalarPair(_, meta) => Some(meta.not_undef()?),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user