mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Changed so it gets linked properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2619905926
commit
e0b6b78e09
@ -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
|
||||
|
@ -40,6 +40,7 @@ void Loop::print(std::ostream &OS) const {
|
||||
//===----------------------------------------------------------------------===//
|
||||
// LoopInfo implementation
|
||||
//
|
||||
void LoopInfo::stub() {}
|
||||
|
||||
bool LoopInfo::runOnFunction(Function &) {
|
||||
releaseMemory();
|
||||
|
Loading…
Reference in New Issue
Block a user