diff options
author | Owen Anderson <resistor@mac.com> | 2007-11-27 03:43:35 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-11-27 03:43:35 +0000 |
commit | d735ee85dbab8e4f66f9ec157f19956e0d11ec7a (patch) | |
tree | ab14008be184ab6c761122865aa954c9b9b2d2d9 /lib/Analysis/LoopInfo.cpp | |
parent | af9ac8f8212a062291e218ea0dea90a2e81dcf66 (diff) |
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 559f676806..d0e7a77eed 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -43,7 +43,7 @@ X("loops", "Natural Loop Construction", true); // bool LoopInfo::runOnFunction(Function &) { releaseMemory(); - LI->Calculate(getAnalysis<DominatorTree>()); // Update + LI->Calculate(getAnalysis<DominatorTree>().getBase()); // Update return false; } |