diff options
author | Devang Patel <dpatel@apple.com> | 2007-04-26 21:33:42 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-04-26 21:33:42 +0000 |
commit | 6e21ff0b0a8e4f0878431afa5628bb1c2db0b8e1 (patch) | |
tree | 8167082bb84566735d802575774adf123770d1e6 /include/llvm/Pass.h | |
parent | 3d18d640894c3ba5f3b93adda39b2a321d547654 (diff) | |
download | external_llvm-6e21ff0b0a8e4f0878431afa5628bb1c2db0b8e1.zip external_llvm-6e21ff0b0a8e4f0878431afa5628bb1c2db0b8e1.tar.gz external_llvm-6e21ff0b0a8e4f0878431afa5628bb1c2db0b8e1.tar.bz2 |
Move ~Pass() from Pass.h into Pass.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r-- | include/llvm/Pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 84ec844..1ab6ff9 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -88,7 +88,7 @@ class Pass { Pass(const Pass &); // DO NOT IMPLEMENT public: Pass() : Resolver(0), PassInfoCache(0) {} - virtual ~Pass() { delete Resolver; } // Destructor is virtual so we can be subclassed + virtual ~Pass(); /// getPassName - Return a nice clean name for a pass. This usually /// implemented in terms of the name that is registered by one of the |