Skip to content

Commit e1556c8

Browse files
committed
add machine hook tcx parameters
1 parent 8acc9b2 commit e1556c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/machine.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
605605

606606
#[inline(always)]
607607
fn memory_read(
608+
_tcx: TyCtxt<'tcx>,
608609
machine: &Self,
609610
alloc_extra: &AllocExtra,
610611
tag: Tag,
@@ -627,6 +628,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
627628

628629
#[inline(always)]
629630
fn memory_written(
631+
_tcx: TyCtxt<'tcx>,
630632
machine: &mut Self,
631633
alloc_extra: &mut AllocExtra,
632634
tag: Tag,
@@ -649,6 +651,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
649651

650652
#[inline(always)]
651653
fn memory_deallocated(
654+
_tcx: TyCtxt<'tcx>,
652655
machine: &mut Self,
653656
alloc_extra: &mut AllocExtra,
654657
tag: Tag,

0 commit comments

Comments
 (0)