IntervalPartition was changed to inherit from vector<Interval*> instead of

contain it so that it would have full iterator access without much work.

Writer includes code to print out IntervalPartition's now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-07-03 15:28:35 +00:00
parent a49e015180
commit e6850235f5
2 changed files with 16 additions and 2 deletions

View File

@ -24,7 +24,7 @@ IntervalPartition::~IntervalPartition() {
// interval itself (in the IntervalMap).
//
void IntervalPartition::addIntervalToPartition(Interval *I) {
IntervalList.push_back(I);
push_back(I);
// Add mappings for all of the basic blocks in I to the IntervalPartition
for (Interval::node_iterator It = I->Nodes.begin(), End = I->Nodes.end();