diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 |
commit | 7ff99155c39edd73ebf1c6adfa023b1048fee9a4 (patch) | |
tree | b4dc751bcee540346911aa4115729eff2f991657 /lib/VMCore/LeakDetector.cpp | |
parent | d1f06de484602e72707476a6152974847bac1570 (diff) | |
download | FreeBSD-src-7ff99155c39edd73ebf1c6adfa023b1048fee9a4.zip FreeBSD-src-7ff99155c39edd73ebf1c6adfa023b1048fee9a4.tar.gz |
Update LLVM to r86025.
Diffstat (limited to 'lib/VMCore/LeakDetector.cpp')
-rw-r--r-- | lib/VMCore/LeakDetector.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/VMCore/LeakDetector.cpp b/lib/VMCore/LeakDetector.cpp index 5ebd4f5..a44f61d 100644 --- a/lib/VMCore/LeakDetector.cpp +++ b/lib/VMCore/LeakDetector.cpp @@ -36,7 +36,6 @@ void LeakDetector::addGarbageObjectImpl(void *Object) { void LeakDetector::addGarbageObjectImpl(const Value *Object) { LLVMContextImpl *pImpl = Object->getContext().pImpl; - sys::SmartScopedLock<true> Lock(pImpl->LLVMObjectsLock); pImpl->LLVMObjects.addGarbage(Object); } @@ -47,7 +46,6 @@ void LeakDetector::removeGarbageObjectImpl(void *Object) { void LeakDetector::removeGarbageObjectImpl(const Value *Object) { LLVMContextImpl *pImpl = Object->getContext().pImpl; - sys::SmartScopedLock<true> Lock(pImpl->LLVMObjectsLock); pImpl->LLVMObjects.removeGarbage(Object); } @@ -55,7 +53,6 @@ void LeakDetector::checkForGarbageImpl(LLVMContext &Context, const std::string &Message) { LLVMContextImpl *pImpl = Context.pImpl; sys::SmartScopedLock<true> Lock(*ObjectsLock); - sys::SmartScopedLock<true> CLock(pImpl->LLVMObjectsLock); Objects->setName("GENERIC"); pImpl->LLVMObjects.setName("LLVM"); |