From 8269925b1e09ca5a2635c07e5168608917312682 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 15 Nov 2007 00:40:48 +0000 Subject: [PATCH] Need to increment the iterator. llvm-svn: 44153 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index e77a9e6839e8..9f08b1db09f7 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();