diff options
Diffstat (limited to 'lib/Analysis/ThreadSafety.cpp')
-rw-r--r-- | lib/Analysis/ThreadSafety.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/ThreadSafety.cpp b/lib/Analysis/ThreadSafety.cpp index 06ae32c3f1..9c5fb1a145 100644 --- a/lib/Analysis/ThreadSafety.cpp +++ b/lib/Analysis/ThreadSafety.cpp @@ -822,7 +822,7 @@ public: LockData* findLock(FactManager& FM, const SExpr& M) const { for (const_iterator I = begin(), E = end(); I != E; ++I) { - const SExpr& Exp = FM[*I].MutID; + const SExpr &Exp = FM[*I].MutID; if (Exp.matches(M)) return &FM[*I].LDat; } @@ -831,7 +831,7 @@ public: LockData* findLockUniv(FactManager& FM, const SExpr& M) const { for (const_iterator I = begin(), E = end(); I != E; ++I) { - const SExpr& Exp = FM[*I].MutID; + const SExpr &Exp = FM[*I].MutID; if (Exp.matches(M) || Exp.isUniversal()) return &FM[*I].LDat; } |