diff options
author | Devang Patel <dpatel@apple.com> | 2007-04-26 21:06:41 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-04-26 21:06:41 +0000 |
commit | 5230eaa5a8be6ddb0785a5290c0428e597e12112 (patch) | |
tree | 29de615c4fcf18ee2a1b06ac7fd21792a5f26b74 | |
parent | 330ce44af69009ac3578f9c45ca1769cef47bba5 (diff) |
Delete Analysis Resolver.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36493 91177308-0d34-0410-b5e6-96231b3b80d8
-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 5dd3dba4c6..84ec8442fb 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() {} // Destructor is virtual so we can be subclassed + virtual ~Pass() { delete Resolver; } // Destructor is virtual so we can be subclassed /// getPassName - Return a nice clean name for a pass. This usually /// implemented in terms of the name that is registered by one of the |