From: David Goodwin Date: Mon, 26 Oct 2009 19:00:47 +0000 (+0000) Subject: Add virtual destructor. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c932213e136ebcf7692b803369fd7bbf3c461daa;p=oota-llvm.git Add virtual destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85141 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/AntiDepBreaker.h b/include/llvm/CodeGen/AntiDepBreaker.h index 31fdb24ec44..7ed0c77e952 100644 --- a/include/llvm/CodeGen/AntiDepBreaker.h +++ b/include/llvm/CodeGen/AntiDepBreaker.h @@ -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;