summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-10-26 19:41:00 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-10-26 19:41:00 +0000
commit661ea989e9e8c9b481c60fa56b00b4ec529629b1 (patch)
tree37f4a50e7723c91d77d33f6aa280981ba61f7de3
parentde11f36ab76d32fcec53c163c5006ce9b573579c (diff)
downloadbcm5719-llvm-661ea989e9e8c9b481c60fa56b00b4ec529629b1.tar.gz
bcm5719-llvm-661ea989e9e8c9b481c60fa56b00b4ec529629b1.zip
Define virtual destructor in *.cpp file.
llvm-svn: 85146
-rw-r--r--llvm/include/llvm/CodeGen/AntiDepBreaker.h2
-rw-r--r--llvm/lib/CodeGen/PostRASchedulerList.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AntiDepBreaker.h b/llvm/include/llvm/CodeGen/AntiDepBreaker.h
index 7ed0c77e952..af45eb9b2f7 100644
--- a/llvm/include/llvm/CodeGen/AntiDepBreaker.h
+++ b/llvm/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/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp
index 4ee97e79b5f..8fe20876bcc 100644
--- a/llvm/lib/CodeGen/PostRASchedulerList.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud