summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervals.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-13 21:17:47 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-13 21:17:47 +0000
commit33f9cb1da73695273520f8d3306152bcbb13477f (patch)
treef26bcb72bf03d288880598773df4d12a8df86660 /llvm/lib/CodeGen/LiveIntervals.cpp
parent9d0c3d21c86fbf0df5bcffa217b8e0d69b534245 (diff)
downloadbcm5719-llvm-33f9cb1da73695273520f8d3306152bcbb13477f.tar.gz
bcm5719-llvm-33f9cb1da73695273520f8d3306152bcbb13477f.zip
Fix output of live intervals to show correctly its closed, open
ranges, i.e. [a,b) llvm-svn: 10822
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp
index f8c83f18ead..cab3bd6b4a1 100644
--- a/llvm/lib/CodeGen/LiveIntervals.cpp
+++ b/llvm/lib/CodeGen/LiveIntervals.cpp
@@ -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;
}
OpenPOWER on IntegriCloud