Changes in directory llvm/include/llvm:

Pass.h updated: 1.85 -> 1.86
---
Log message:

Move ~Pass() from Pass.h into Pass.cpp


---
Diffs of the changes:  (+1 -1)

 Pass.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.85 llvm/include/llvm/Pass.h:1.86
--- llvm/include/llvm/Pass.h:1.85       Thu Apr 26 16:06:41 2007
+++ llvm/include/llvm/Pass.h    Thu Apr 26 16:33:41 2007
@@ -88,7 +88,7 @@
   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



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to