commit | 1075ecd32f53b7bc12e4a8f6917d7d1aebd4672a | [log] [tgz] |
---|---|---|
author | Alkis Evlogimenos <alkis@evlogimenos.com> | Thu Jan 22 19:17:52 2004 +0000 |
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | Thu Jan 22 19:17:52 2004 +0000 |
tree | 8b5dafc8ba174ca53f0f2c8ba5f7c48d2aaf51c5 | |
parent | e1a210777d4950fa47817e61a81118351c9a2311 [diff] [blame] |
Revert previous change. The code was correct... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10957 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index d789fbd..eb9cf38 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -371,7 +371,7 @@ bool LiveIntervals::Interval::liveAt(unsigned index) const { Ranges::const_iterator r = ranges.begin(); - while (r != ranges.end() && index < r->second) { + while (r != ranges.end() && index < (r->second - 1)) { if (index >= r->first) return true; ++r;