[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervals.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Dec 5 04:39:00 PST 2003
Changes in directory llvm/include/llvm/CodeGen:
LiveIntervals.h updated: 1.2 -> 1.3
---
Log message:
Move operator<<(std::ostream&, const LiveInterval&) out of the header file.
---
Diffs of the changes: (+2 -9)
Index: llvm/include/llvm/CodeGen/LiveIntervals.h
diff -u llvm/include/llvm/CodeGen/LiveIntervals.h:1.2 llvm/include/llvm/CodeGen/LiveIntervals.h:1.3
--- llvm/include/llvm/CodeGen/LiveIntervals.h:1.2 Wed Nov 19 21:32:25 2003
+++ llvm/include/llvm/CodeGen/LiveIntervals.h Fri Dec 5 04:38:28 2003
@@ -196,15 +196,8 @@
return lhs.reg == rhs.reg;
}
- inline std::ostream& operator<<(std::ostream& os,
- const LiveIntervals::Interval& li) {
- os << "%reg" << li.reg << " = ";
- for (LiveIntervals::Interval::Ranges::const_iterator
- i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) {
- os << "[" << i->first << ", " << i->second << "]";
- }
- return os;
- }
+ std::ostream& operator<<(std::ostream& os,
+ const LiveIntervals::Interval& li);
} // End llvm namespace
More information about the llvm-commits
mailing list