projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b94a6
)
Make interval partition print correctly, patch contributed by
author
Chris Lattner
<sabre@nondot.org>
Tue, 26 Apr 2005 14:48:28 +0000
(14:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 26 Apr 2005 14:48:28 +0000
(14:48 +0000)
Vladimir Prus!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21566
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IntervalPartition.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IntervalPartition.cpp
b/lib/Analysis/IntervalPartition.cpp
index d12c0fdbc7a631ebeade702f46d1acb96d7affa5..a6b85d4b90b2ea9772a6fd3a2dde10e35f944854 100644
(file)
--- a/
lib/Analysis/IntervalPartition.cpp
+++ b/
lib/Analysis/IntervalPartition.cpp
@@
-31,8
+31,8
@@
void IntervalPartition::destroy() {
}
void IntervalPartition::print(std::ostream &O, const Module*) const {
- std::copy(Intervals.begin(), Intervals.end(),
-
std::ostream_iterator<const Interval *>(O, "\n")
);
+ for(unsigned i = 0, e = Intervals.size(); i != e; ++i)
+
Intervals[i]->print(O
);
}
// addIntervalToPartition - Add an interval to the internal list of intervals,