aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-11-15 00:40:48 +0000
committerBill Wendling <isanbard@gmail.com>2007-11-15 00:40:48 +0000
commit1817ab86bf43253f98d920900d216bb0fc099e9a (patch)
tree9c65a87f8b9614478a99013d9c42941ea17984a2 /lib/CodeGen
parent3a7a7cd41a3c5dd233d54c2508b81488ab8053ab (diff)
downloadexternal_llvm-1817ab86bf43253f98d920900d216bb0fc099e9a.zip
external_llvm-1817ab86bf43253f98d920900d216bb0fc099e9a.tar.gz
external_llvm-1817ab86bf43253f98d920900d216bb0fc099e9a.tar.bz2
Need to increment the iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index e77a9e6..9f08b1d 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -342,7 +342,7 @@ void RALinScan::linearScan()
// expire any remaining inactive intervals
DEBUG(for (IntervalPtrs::reverse_iterator
- i = inactive_.rbegin(); i != inactive_.rend(); )
+ i = inactive_.rbegin(); i != inactive_.rend(); ++i)
DOUT << "\tinterval " << *i->first << " expired\n");
inactive_.clear();