aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/AntiDepBreaker.h2
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AntiDepBreaker.h b/include/llvm/CodeGen/AntiDepBreaker.h
index 7ed0c77e95..af45eb9b2f 100644
--- a/include/llvm/CodeGen/AntiDepBreaker.h
+++ b/include/llvm/CodeGen/AntiDepBreaker.h
@@ -29,7 +29,7 @@ namespace llvm {
/// anti-dependencies.
class AntiDepBreaker {
public:
- virtual ~AntiDepBreaker() { };
+ virtual ~AntiDepBreaker();
/// Start - Initialize anti-dep breaking for a new basic block.
virtual void StartBlock(MachineBasicBlock *BB) =0;
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp
index 4ee97e79b5..8fe20876bc 100644
--- a/lib/CodeGen/PostRASchedulerList.cpp
+++ b/lib/CodeGen/PostRASchedulerList.cpp
@@ -24,6 +24,7 @@
#include "ExactHazardRecognizer.h"
#include "SimpleHazardRecognizer.h"
#include "ScheduleDAGInstrs.h"
+#include "llvm/CodeGen/AntiDepBreaker.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/LatencyPriorityQueue.h"
#include "llvm/CodeGen/SchedulerRegistry.h"
@@ -79,6 +80,8 @@ DebugMod("postra-sched-debugmod",
cl::desc("Debug control MBBs that are scheduled"),
cl::init(0), cl::Hidden);
+AntiDepBreaker::~AntiDepBreaker() { }
+
namespace {
class PostRAScheduler : public MachineFunctionPass {
AliasAnalysis *AA;