Rebase fallout

This commit is contained in:
Oliver Scherer 2018-11-02 13:06:45 +01:00
parent 475139997a
commit 400f997de3

View File

@ -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()?),
}) })
} }
} }