Do not expose the locking for the PassRegistry in the header. Be careful to
[oota-llvm.git] / include / llvm / PassRegistry.h
index 8b7f036e20c181b0ca37321b95242121dfbc7476..31d48a4e28f0b782b183981ffc82ac3d40cfb3fe 100644 (file)
@@ -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: