mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-21 12:38:45 +00:00
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
This commit is contained in:
parent
a576e17ced
commit
776885f34d
@ -94,7 +94,7 @@ public:
|
|||||||
IntervalIterator() {} // End iterator, empty stack
|
IntervalIterator() {} // End iterator, empty stack
|
||||||
IntervalIterator(Method *M, bool OwnMemory) : IOwnMem(OwnMemory) {
|
IntervalIterator(Method *M, bool OwnMemory) : IOwnMem(OwnMemory) {
|
||||||
OrigContainer = M;
|
OrigContainer = M;
|
||||||
if (!ProcessInterval(M->getBasicBlocks().front())) {
|
if (!ProcessInterval(M->front())) {
|
||||||
assert(0 && "ProcessInterval should never fail for first interval!");
|
assert(0 && "ProcessInterval should never fail for first interval!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user