summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-11-27 03:43:35 +0000
committerOwen Anderson <resistor@mac.com>2007-11-27 03:43:35 +0000
commitb0dd27ee91d9d93e3226e6f3a03700e63bb38fe7 (patch)
treedf6610c21230be4fa2b5f176e73fa6c841dc6f2b /llvm/lib/Analysis
parent5aad0d7ea2a5feeab15847744b3d5350876f78fb (diff)
downloadbcm5719-llvm-b0dd27ee91d9d93e3226e6f3a03700e63bb38fe7.tar.gz
bcm5719-llvm-b0dd27ee91d9d93e3226e6f3a03700e63bb38fe7.zip
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change.
llvm-svn: 44348
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index 559f6768060..d0e7a77eedf 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud