mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 01:40:53 +00:00
Delete a redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b0e47efc6
commit
624218f5b4
@ -70,7 +70,7 @@ void *PassRegistry::getImpl() const {
|
||||
PassRegistry::~PassRegistry() {
|
||||
sys::SmartScopedLock<true> Guard(*Lock);
|
||||
PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(pImpl);
|
||||
if (Impl) delete Impl;
|
||||
delete Impl;
|
||||
pImpl = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user