Skip to content

Commit 9f99d10

Browse files
committed
some stray tag → prov renames
1 parent e649a9a commit 9f99d10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/concurrency/data_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ trait EvalContextPrivExt<'mir, 'tcx: 'mir>: MiriEvalContextExt<'mir, 'tcx> {
10611061
if let Some(data_race) = &this.machine.data_race {
10621062
if data_race.race_detecting() {
10631063
let size = place.layout.size;
1064-
let (alloc_id, base_offset, _tag) = this.ptr_get_alloc_id(place.ptr)?;
1064+
let (alloc_id, base_offset, _prov) = this.ptr_get_alloc_id(place.ptr)?;
10651065
// Load and log the atomic operation.
10661066
// Note that atomic loads are possible even from read-only allocations, so `get_alloc_extra_mut` is not an option.
10671067
let alloc_meta = this.get_alloc_extra(alloc_id)?.data_race.as_ref().unwrap();

src/shims/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
123123

124124
let ptr = this.read_pointer(ptr)?;
125125
// Take apart the pointer, we need its pieces.
126-
let (alloc_id, offset, _tag) = this.ptr_get_alloc_id(ptr)?;
126+
let (alloc_id, offset, _prov) = this.ptr_get_alloc_id(ptr)?;
127127

128128
let fn_instance =
129129
if let Some(GlobalAlloc::Function(instance)) = this.tcx.get_global_alloc(alloc_id) {

0 commit comments

Comments
 (0)