This commit is contained in:
Ralf Jung 2022-06-08 12:10:54 -04:00
parent b8d5ee037b
commit 657386cc91
2 changed files with 3 additions and 3 deletions

View file

@ -678,8 +678,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
fn ptr_from_addr_cast(
ecx: &MiriEvalContext<'mir, 'tcx>,
addr: u64,
) -> Pointer<Option<Self::PointerTag>> {
intptrcast::GlobalStateInner::ptr_from_addr_cast(ecx, addr)
) -> InterpResult<'tcx, Pointer<Option<Self::PointerTag>>> {
Ok(intptrcast::GlobalStateInner::ptr_from_addr_cast(ecx, addr))
}
#[inline(always)]