From 902679693f33bf771f2665aa71e99c121e28632b Mon Sep 17 00:00:00 2001 From: Argiris Kirtzidis Date: Wed, 19 Nov 2008 12:56:21 +0000 Subject: Fix compilation error on MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59629 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocPBQP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index e9271ef..1f49199 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp @@ -731,7 +731,7 @@ void PBQPRegAlloc::finalizeAlloc() const { typedef LiveInterval::Ranges::const_iterator LRIterator; // First allocate registers for the empty intervals. - for (LiveIntervalSet::iterator + for (LiveIntervalSet::const_iterator itr = emptyVRegIntervals.begin(), end = emptyVRegIntervals.end(); itr != end; ++itr) { LiveInterval *li = *itr; -- cgit v1.1