diff options
author | Chris Lattner <sabre@nondot.org> | 2001-06-27 23:30:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-06-27 23:30:11 +0000 |
commit | a32c04fcb14786f55b1540e1cc4c4937d63b2017 (patch) | |
tree | e0c8668c6ef482555aba5a9aedd71d3983d6b01d | |
parent | 608fe88627dd6a9bd4f0bc215e460860d4ca4df0 (diff) | |
download | bcm5719-llvm-a32c04fcb14786f55b1540e1cc4c4937d63b2017.tar.gz bcm5719-llvm-a32c04fcb14786f55b1540e1cc4c4937d63b2017.zip |
getBasicBlocks() is not needed anymore for reading Method data
llvm-svn: 85
-rw-r--r-- | llvm/include/llvm/Analysis/IntervalIterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/IntervalIterator.h b/llvm/include/llvm/Analysis/IntervalIterator.h index 60155022aa4..e3c2d08de89 100644 --- a/llvm/include/llvm/Analysis/IntervalIterator.h +++ b/llvm/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!"); } } |