Fix output of live intervals to show correctly its closed, open
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 13 Jan 2004 21:17:47 +0000 (21:17 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 13 Jan 2004 21:17:47 +0000 (21:17 +0000)
ranges, i.e. [a,b)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10822 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index f8c83f18ead27f56550b4b46be55fdc5d7462c47..cab3bd6b4a17acecd7ac5fee2934d744a28b4aad 100644 (file)
@@ -415,7 +415,7 @@ std::ostream& llvm::operator<<(std::ostream& os,
     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;
 }