aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;