OSDN Git Service

Define virtual destructor in *.cpp file.
authorDavid Goodwin <david_goodwin@apple.com>
Mon, 26 Oct 2009 19:41:00 +0000 (19:41 +0000)
committerDavid Goodwin <david_goodwin@apple.com>
Mon, 26 Oct 2009 19:41:00 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85146 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AntiDepBreaker.h
lib/CodeGen/PostRASchedulerList.cpp

index 7ed0c77..af45eb9 100644 (file)
@@ -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;
index 4ee97e7..8fe2087 100644 (file)
@@ -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;