From: Alkis Evlogimenos Date: Tue, 13 Jan 2004 21:17:47 +0000 (+0000) Subject: Fix output of live intervals to show correctly its closed, open X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=63841bc85d15ca0ce1b3208084f4262f3d33ef21;p=oota-llvm.git Fix output of live intervals to show correctly its closed, open ranges, i.e. [a,b) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10822 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index f8c83f18ead..cab3bd6b4a1 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.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; }