add machine hook tcx parameters

This commit is contained in:
Ralf Jung 2022-04-06 18:30:25 -04:00
parent 8acc9b2799
commit e1556c8576

View File

@ -605,6 +605,7 @@ fn ptr_get_alloc(
#[inline(always)]
fn memory_read(
_tcx: TyCtxt<'tcx>,
machine: &Self,
alloc_extra: &AllocExtra,
tag: Tag,
@ -627,6 +628,7 @@ fn memory_read(
#[inline(always)]
fn memory_written(
_tcx: TyCtxt<'tcx>,
machine: &mut Self,
alloc_extra: &mut AllocExtra,
tag: Tag,
@ -649,6 +651,7 @@ fn memory_written(
#[inline(always)]
fn memory_deallocated(
_tcx: TyCtxt<'tcx>,
machine: &mut Self,
alloc_extra: &mut AllocExtra,
tag: Tag,