Delete Analysis Resolver.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-04-26 21:06:41 +00:00
parent 330ce44af6
commit 5230eaa5a8

View File

@ -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