summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/AntiDepBreaker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AntiDepBreaker.h b/llvm/include/llvm/CodeGen/AntiDepBreaker.h
index 31fdb24ec44..7ed0c77e952 100644
--- a/llvm/include/llvm/CodeGen/AntiDepBreaker.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud