mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
9b0e47efc6
commit
624218f5b4
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user