1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Changed so it gets linked properly

llvm-svn: 3508
This commit is contained in:
Anand Shukla 2002-08-26 16:45:19 +00:00
parent 69f833618d
commit 1e105cdb7c
2 changed files with 7 additions and 0 deletions

View File

@ -110,9 +110,15 @@ public:
//
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
static void stub(); // Noop
private:
void Calculate(const DominatorSet &DS);
Loop *ConsiderForLoop(BasicBlock *BB, const DominatorSet &DS);
};
// Make sure that any clients of this file link in PostDominators.cpp
static IncludeFile
LOOP_INFO_INCLUDE_FILE((void*)&LoopInfo::stub);
#endif

View File

@ -40,6 +40,7 @@ void Loop::print(std::ostream &OS) const {
//===----------------------------------------------------------------------===//
// LoopInfo implementation
//
void LoopInfo::stub() {}
bool LoopInfo::runOnFunction(Function &) {
releaseMemory();