Remove unused lifetimes
This commit is contained in:
parent
1379036713
commit
6fb7c131ed
2 changed files with 2 additions and 6 deletions
|
|
@ -939,11 +939,7 @@ impl VClockAlloc {
|
|||
|
||||
/// Detect racing atomic read and writes (not data races)
|
||||
/// on every byte of the current access range
|
||||
pub(super) fn race_free_with_atomic<'tcx>(
|
||||
&self,
|
||||
range: AllocRange,
|
||||
global: &GlobalState,
|
||||
) -> bool {
|
||||
pub(super) fn race_free_with_atomic(&self, range: AllocRange, global: &GlobalState) -> bool {
|
||||
if global.race_detecting() {
|
||||
let (_, clocks) = global.current_thread_state();
|
||||
let alloc_ranges = self.alloc_ranges.borrow();
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ impl StoreBufferAlloc {
|
|||
/// before without data race, we can determine that the non-atomic access fully happens
|
||||
/// after all the prior atomic accesses so the location no longer needs to exhibit
|
||||
/// any weak memory behaviours until further atomic accesses.
|
||||
pub fn memory_accessed<'tcx>(&self, range: AllocRange, global: &GlobalState) {
|
||||
pub fn memory_accessed(&self, range: AllocRange, global: &GlobalState) {
|
||||
if !global.ongoing_action_data_race_free() {
|
||||
let mut buffers = self.store_buffers.borrow_mut();
|
||||
let access_type = buffers.access_type(range);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue