From: Devang Patel Date: Thu, 26 Apr 2007 21:06:41 +0000 (+0000) Subject: Delete Analysis Resolver. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5230eaa5a8be6ddb0785a5290c0428e597e12112;p=oota-llvm.git Delete Analysis Resolver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36493 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 5dd3dba4c6e..84ec8442fb8 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