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) | |
download | external_llvm-d735ee85dbab8e4f66f9ec157f19956e0d11ec7a.zip external_llvm-d735ee85dbab8e4f66f9ec157f19956e0d11ec7a.tar.gz external_llvm-d735ee85dbab8e4f66f9ec157f19956e0d11ec7a.tar.bz2 |
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 559f676..d0e7a77 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; } |