[llvm-commits] [llvm] r44153 - /llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp

Bill Wendling isanbard at gmail.com
Wed Nov 14 16:40:48 PST 2007


Author: void
Date: Wed Nov 14 18:40:48 2007
New Revision: 44153

URL: http://llvm.org/viewvc/llvm-project?rev=44153&view=rev
Log:
Need to increment the iterator.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp

Modified: llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp?rev=44153&r1=44152&r2=44153&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp Wed Nov 14 18:40:48 2007
@@ -342,7 +342,7 @@
 
   // 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();
 





More information about the llvm-commits mailing list