OSDN Git Service

Add virtual destructor.
authorDavid Goodwin <david_goodwin@apple.com>
Mon, 26 Oct 2009 19:00:47 +0000 (19:00 +0000)
committerDavid Goodwin <david_goodwin@apple.com>
Mon, 26 Oct 2009 19:00:47 +0000 (19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85141 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AntiDepBreaker.h

index 31fdb24..7ed0c77 100644 (file)
@@ -29,6 +29,8 @@ namespace llvm {
 /// anti-dependencies.
 class AntiDepBreaker {
 public:
+  virtual ~AntiDepBreaker() { };
+
   /// Start - Initialize anti-dep breaking for a new basic block.
   virtual void StartBlock(MachineBasicBlock *BB) =0;