[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Jan 13 15:18:00 PST 2004


Changes in directory llvm/lib/CodeGen:

LiveIntervals.cpp updated: 1.20 -> 1.21

---
Log message:

Fix output of live intervals to show correctly its closed, open
ranges, i.e. [a,b)


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.20 llvm/lib/CodeGen/LiveIntervals.cpp:1.21
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.20	Tue Jan 13 00:24:30 2004
+++ llvm/lib/CodeGen/LiveIntervals.cpp	Tue Jan 13 15:17:47 2004
@@ -415,7 +415,7 @@
     os << "%reg" << li.reg << ',' << li.weight << " = ";
     for (LiveIntervals::Interval::Ranges::const_iterator
              i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) {
-        os << "[" << i->first << "," << i->second << "]";
+        os << "[" << i->first << "," << i->second << ")";
     }
     return os;
 }





More information about the llvm-commits mailing list