Define virtual destructor in *.cpp file.

llvm-svn: 85146
This commit is contained in:
David Goodwin 2009-10-26 19:41:00 +00:00
parent de11f36ab7
commit 661ea989e9
2 changed files with 4 additions and 1 deletions

View 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;

View 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;