We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430edc8 commit bc7269dCopy full SHA for bc7269d
src/machine.rs
@@ -1571,8 +1571,12 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
1571
res
1572
}
1573
1574
- fn after_local_read(ecx: &InterpCx<'tcx, Self>, local: mir::Local) -> InterpResult<'tcx> {
1575
- if let Some(data_race) = &ecx.frame().extra.data_race {
+ fn after_local_read(
+ ecx: &InterpCx<'tcx, Self>,
1576
+ frame: &Frame<'tcx, Provenance, FrameExtra<'tcx>>,
1577
+ local: mir::Local,
1578
+ ) -> InterpResult<'tcx> {
1579
+ if let Some(data_race) = &frame.extra.data_race {
1580
data_race.local_read(local, &ecx.machine);
1581
1582
interp_ok(())
0 commit comments