add machine hook tcx parameters
This commit is contained in:
parent
8acc9b2799
commit
e1556c8576
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user