aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/LoopInfo.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-11-27 22:47:08 +0000
committerOwen Anderson <resistor@mac.com>2007-11-27 22:47:08 +0000
commite4ad9c70e4a1261c212b11623d99e2477ef02783 (patch)
treee5fc81517daac87883c1d6ce87464b27f39ff298 /include/llvm/Analysis/LoopInfo.h
parenta5d4a4e33ef9496143b933ef18fa3671bb9b1bf0 (diff)
downloadexternal_llvm-e4ad9c70e4a1261c212b11623d99e2477ef02783.zip
external_llvm-e4ad9c70e4a1261c212b11623d99e2477ef02783.tar.gz
external_llvm-e4ad9c70e4a1261c212b11623d99e2477ef02783.tar.bz2
Add MachineLoopInfo. This is not yet tested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LoopInfo.h')
-rw-r--r--include/llvm/Analysis/LoopInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index a9c56a8..dd66c18 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -702,7 +702,7 @@ public:
LoopBase<BlockT> *L = new LoopBase<BlockT>(BB);
BBMap[BB] = L;
- BlockT *EntryBlock = &BB->getParent()->getEntryBlock();
+ BlockT *EntryBlock = BB->getParent()->begin();
while (!TodoStack.empty()) { // Process all the nodes in the loop
BlockT *X = TodoStack.back();