[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp LiveIntervalAnalysis.h
Reid Spencer
reid at x10sys.com
Mon Dec 6 20:03:57 PST 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.132 -> 1.133
LiveIntervalAnalysis.h updated: 1.43 -> 1.44
---
Log message:
For PR387: http://llvm.cs.uiuc.edu/PR387 :\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.132 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.133
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.132 Tue Oct 26 00:29:18 2004
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Mon Dec 6 22:03:45 2004
@@ -169,7 +169,7 @@
}
/// print - Implement the dump method.
-void LiveIntervals::print(std::ostream &O) const {
+void LiveIntervals::print(std::ostream &O, const Module* ) const {
O << "********** INTERVALS **********\n";
for (const_iterator I = begin(), E = end(); I != E; ++I)
O << " " << I->second << "\n";
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.h:1.43 llvm/lib/CodeGen/LiveIntervalAnalysis.h:1.44
--- llvm/lib/CodeGen/LiveIntervalAnalysis.h:1.43 Thu Sep 30 10:59:17 2004
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.h Mon Dec 6 22:03:45 2004
@@ -128,7 +128,7 @@
virtual bool runOnMachineFunction(MachineFunction&);
/// print - Implement the dump method.
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module* = 0) const;
private:
/// computeIntervals - compute live intervals
More information about the llvm-commits
mailing list