diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-07 04:03:45 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-07 04:03:45 +0000 |
commit | 90839368354d2faeb99f727250934a49f85ad08f (patch) | |
tree | 45b97277effa6831ae42f8883993323e3a7a6913 /llvm/lib/Analysis/IntervalPartition.cpp | |
parent | 1c48c2deeeaaea525ca7c45490b1fa199acd5c75 (diff) | |
download | bcm5719-llvm-90839368354d2faeb99f727250934a49f85ad08f.tar.gz bcm5719-llvm-90839368354d2faeb99f727250934a49f85ad08f.zip |
For PR387:\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
llvm-svn: 18589
Diffstat (limited to 'llvm/lib/Analysis/IntervalPartition.cpp')
-rw-r--r-- | llvm/lib/Analysis/IntervalPartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IntervalPartition.cpp b/llvm/lib/Analysis/IntervalPartition.cpp index 4f178f4f64f..eb2c06cc64c 100644 --- a/llvm/lib/Analysis/IntervalPartition.cpp +++ b/llvm/lib/Analysis/IntervalPartition.cpp @@ -32,7 +32,7 @@ void IntervalPartition::destroy() { RootInterval = 0; } -void IntervalPartition::print(std::ostream &O) const { +void IntervalPartition::print(std::ostream &O, const Module*) const { std::copy(Intervals.begin(), Intervals.end(), std::ostream_iterator<const Interval *>(O, "\n")); } |