diff options
author | Owen Anderson <resistor@mac.com> | 2010-09-16 23:32:35 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-09-16 23:32:35 +0000 |
commit | 1e3e6362c8def5abcbc9a89c02619a0912177f7e (patch) | |
tree | fd3675c9cbda3c04c8482036dcfe49cda057ecbb /include/llvm/PassRegistry.h | |
parent | fc24c1a7ba4ad1383726079eed6d67097614ee84 (diff) | |
download | llvm-1e3e6362c8def5abcbc9a89c02619a0912177f7e.tar.gz llvm-1e3e6362c8def5abcbc9a89c02619a0912177f7e.tar.bz2 llvm-1e3e6362c8def5abcbc9a89c02619a0912177f7e.tar.xz |
Do not expose the locking for the PassRegistry in the header. Be careful to
synchronize any method that might lazily initialize the pImpl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassRegistry.h')
-rw-r--r-- | include/llvm/PassRegistry.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h index 8b7f036e20..31d48a4e28 100644 --- a/include/llvm/PassRegistry.h +++ b/include/llvm/PassRegistry.h @@ -18,7 +18,6 @@ #define LLVM_PASSREGISTRY_H #include "llvm/ADT/StringRef.h" -#include "llvm/System/Mutex.h" namespace llvm { @@ -33,7 +32,6 @@ struct PassRegistrationListener; /// each thread. class PassRegistry { mutable void *pImpl; - mutable sys::SmartMutex<true> Lock; void *getImpl() const; public: |