summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.cpp
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
commit8269925b1e09ca5a2635c07e5168608917312682 (patch)
tree0a412830af491a181f38449d6084368cb5f05e58 /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parentc5f3e5371c2458669650804eac76d790d88ab271 (diff)
downloadbcm5719-llvm-8269925b1e09ca5a2635c07e5168608917312682.tar.gz
bcm5719-llvm-8269925b1e09ca5a2635c07e5168608917312682.zip
Need to increment the iterator.
llvm-svn: 44153
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index e77a9e6839e..9f08b1db09f 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud