Need to increment the iterator.

llvm-svn: 44153
This commit is contained in:
Bill Wendling 2007-11-15 00:40:48 +00:00
parent f9bee1e089
commit 3a908f7dca

View File

@ -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();