[llvm-commits] [llvm] r85141 - /llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h

David Goodwin david_goodwin at apple.com
Mon Oct 26 12:00:47 PDT 2009


Author: david_goodwin
Date: Mon Oct 26 14:00:47 2009
New Revision: 85141

URL: http://llvm.org/viewvc/llvm-project?rev=85141&view=rev
Log:
Add virtual destructor.

Modified:
    llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h

Modified: llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h?rev=85141&r1=85140&r2=85141&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AntiDepBreaker.h Mon Oct 26 14:00:47 2009
@@ -29,6 +29,8 @@
 /// anti-dependencies.
 class AntiDepBreaker {
 public:
+  virtual ~AntiDepBreaker() { };
+
   /// Start - Initialize anti-dep breaking for a new basic block.
   virtual void StartBlock(MachineBasicBlock *BB) =0;
 





More information about the llvm-commits mailing list