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 31fdb24ec440d4745d4491bce1e79ccc8e7e484b..7ed0c77e952b1d03a49274b8d6183c3cc048863a 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;