add machine hook tcx parameters
This commit is contained in:
parent
8acc9b2799
commit
e1556c8576
@ -605,6 +605,7 @@ fn ptr_get_alloc(
|
|||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn memory_read(
|
fn memory_read(
|
||||||
|
_tcx: TyCtxt<'tcx>,
|
||||||
machine: &Self,
|
machine: &Self,
|
||||||
alloc_extra: &AllocExtra,
|
alloc_extra: &AllocExtra,
|
||||||
tag: Tag,
|
tag: Tag,
|
||||||
@ -627,6 +628,7 @@ fn memory_read(
|
|||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn memory_written(
|
fn memory_written(
|
||||||
|
_tcx: TyCtxt<'tcx>,
|
||||||
machine: &mut Self,
|
machine: &mut Self,
|
||||||
alloc_extra: &mut AllocExtra,
|
alloc_extra: &mut AllocExtra,
|
||||||
tag: Tag,
|
tag: Tag,
|
||||||
@ -649,6 +651,7 @@ fn memory_written(
|
|||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn memory_deallocated(
|
fn memory_deallocated(
|
||||||
|
_tcx: TyCtxt<'tcx>,
|
||||||
machine: &mut Self,
|
machine: &mut Self,
|
||||||
alloc_extra: &mut AllocExtra,
|
alloc_extra: &mut AllocExtra,
|
||||||
tag: Tag,
|
tag: Tag,
|
||||||
|
Loading…
Reference in New Issue
Block a user