diff --git a/src/analyses/mutexAnalysis.ml b/src/analyses/mutexAnalysis.ml index 702b3b4224..a0f4304b54 100644 --- a/src/analyses/mutexAnalysis.ml +++ b/src/analyses/mutexAnalysis.ml @@ -229,9 +229,9 @@ struct let mutex_lockset = Lockset.export_locks @@ Lockset.singleton (mutex, true) in let protecting = protecting ~write protection v in (* TODO: unsound in 29/24, why did we do this before? *) - if LockDomain.Addr.equal mutex (LockDomain.Addr.of_var LF.verifier_atomic_var) then + (* if LockDomain.Addr.equal mutex (LockDomain.Addr.of_var LF.verifier_atomic_var) then true - else + else *) Mutexes.leq mutex_lockset protecting | Queries.MustLockset -> let held_locks = Lockset.export_locks (Lockset.filter snd ls) in