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]
|
#[inline]
|
||||||
pub fn to_meta(self) -> EvalResult<'tcx, Option<Scalar<Tag>>> {
|
pub fn to_meta(self) -> EvalResult<'tcx, Option<Scalar<Tag>>> {
|
||||||
Ok(match self {
|
Ok(match self {
|
||||||
Value::Scalar(_) => None,
|
Immediate::Scalar(_) => None,
|
||||||
Value::ScalarPair(_, meta) => Some(meta.not_undef()?),
|
Immediate::ScalarPair(_, meta) => Some(meta.not_undef()?),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user