summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/IntervalIterator.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-27 23:30:11 +0000
committerChris Lattner <sabre@nondot.org>2001-06-27 23:30:11 +0000
commit776885f34daeffcc814163bf1c6d53b33c99d476 (patch)
treee5d917094b5c1ca57a142f7fb2184aeb6c2d5e59 /include/llvm/Analysis/IntervalIterator.h
parenta576e17cedea4366c745f02692d97e5b52d3e54f (diff)
downloadllvm-776885f34daeffcc814163bf1c6d53b33c99d476.tar.gz
llvm-776885f34daeffcc814163bf1c6d53b33c99d476.tar.bz2
llvm-776885f34daeffcc814163bf1c6d53b33c99d476.tar.xz
getBasicBlocks() is not needed anymore for reading Method data
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/IntervalIterator.h')
-rw-r--r--include/llvm/Analysis/IntervalIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/IntervalIterator.h b/include/llvm/Analysis/IntervalIterator.h
index 60155022aa..e3c2d08de8 100644
--- a/include/llvm/Analysis/IntervalIterator.h
+++ b/include/llvm/Analysis/IntervalIterator.h
@@ -94,7 +94,7 @@ public:
IntervalIterator() {} // End iterator, empty stack
IntervalIterator(Method *M, bool OwnMemory) : IOwnMem(OwnMemory) {
OrigContainer = M;
- if (!ProcessInterval(M->getBasicBlocks().front())) {
+ if (!ProcessInterval(M->front())) {
assert(0 && "ProcessInterval should never fail for first interval!");
}
}