aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-10-26 19:00:47 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-10-26 19:00:47 +0000
commitc932213e136ebcf7692b803369fd7bbf3c461daa (patch)
tree56d117d53361c67c1a05a282aa256d251c7c76eb
parent8b5af25a14ebcdce05933fe12b71f5a52c4037f7 (diff)
downloadexternal_llvm-c932213e136ebcf7692b803369fd7bbf3c461daa.zip
external_llvm-c932213e136ebcf7692b803369fd7bbf3c461daa.tar.gz
external_llvm-c932213e136ebcf7692b803369fd7bbf3c461daa.tar.bz2
Add virtual destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85141 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/AntiDepBreaker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AntiDepBreaker.h b/include/llvm/CodeGen/AntiDepBreaker.h
index 31fdb24..7ed0c77 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;