summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IntervalPartition.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-03 15:28:35 +0000
committerChris Lattner <sabre@nondot.org>2001-07-03 15:28:35 +0000
commit81f3ace7531c25ac5338e7aa488c70f97212b545 (patch)
tree58de4fc3bbd1c0e888dbce5b5e2feebdb143824a /llvm/lib/Analysis/IntervalPartition.cpp
parent6bf3e9512bbd281eaafffe3983719a8250961280 (diff)
downloadbcm5719-llvm-81f3ace7531c25ac5338e7aa488c70f97212b545.tar.gz
bcm5719-llvm-81f3ace7531c25ac5338e7aa488c70f97212b545.zip
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. llvm-svn: 133
Diffstat (limited to 'llvm/lib/Analysis/IntervalPartition.cpp')
-rw-r--r--llvm/lib/Analysis/IntervalPartition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IntervalPartition.cpp b/llvm/lib/Analysis/IntervalPartition.cpp
index af6cea1627d..bbdcbef65f4 100644
--- a/llvm/lib/Analysis/IntervalPartition.cpp
+++ b/llvm/lib/Analysis/IntervalPartition.cpp
@@ -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();
OpenPOWER on IntegriCloud