@@ -780,7 +780,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
780
780
}
781
781
782
782
#[ inline( always) ]
783
- fn memory_read (
783
+ fn before_memory_read (
784
784
_tcx : TyCtxt < ' tcx > ,
785
785
machine : & Self ,
786
786
alloc_extra : & AllocExtra ,
@@ -796,7 +796,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
796
796
) ?;
797
797
}
798
798
if let Some ( stacked_borrows) = & alloc_extra. stacked_borrows {
799
- stacked_borrows. borrow_mut ( ) . memory_read (
799
+ stacked_borrows. borrow_mut ( ) . before_memory_read (
800
800
alloc_id,
801
801
prov_extra,
802
802
range,
@@ -812,7 +812,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
812
812
}
813
813
814
814
#[ inline( always) ]
815
- fn memory_written (
815
+ fn before_memory_write (
816
816
_tcx : TyCtxt < ' tcx > ,
817
817
machine : & mut Self ,
818
818
alloc_extra : & mut AllocExtra ,
@@ -828,7 +828,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
828
828
) ?;
829
829
}
830
830
if let Some ( stacked_borrows) = & mut alloc_extra. stacked_borrows {
831
- stacked_borrows. get_mut ( ) . memory_written (
831
+ stacked_borrows. get_mut ( ) . before_memory_write (
832
832
alloc_id,
833
833
prov_extra,
834
834
range,
@@ -844,7 +844,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
844
844
}
845
845
846
846
#[ inline( always) ]
847
- fn memory_deallocated (
847
+ fn before_memory_deallocation (
848
848
_tcx : TyCtxt < ' tcx > ,
849
849
machine : & mut Self ,
850
850
alloc_extra : & mut AllocExtra ,
@@ -863,7 +863,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
863
863
) ?;
864
864
}
865
865
if let Some ( stacked_borrows) = & mut alloc_extra. stacked_borrows {
866
- stacked_borrows. get_mut ( ) . memory_deallocated (
866
+ stacked_borrows. get_mut ( ) . before_memory_deallocation (
867
867
alloc_id,
868
868
prove_extra,
869
869
range,
0 commit comments