diff options
author | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-11-19 12:56:21 +0000 |
---|---|---|
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-11-19 12:56:21 +0000 |
commit | 902679693f33bf771f2665aa71e99c121e28632b (patch) | |
tree | 7d75759f4260c2b0cb8bf6541abcaea944dac63e | |
parent | 1db4916b0cb0a99ddf90c895419f233cf7900151 (diff) | |
download | external_llvm-902679693f33bf771f2665aa71e99c121e28632b.zip external_llvm-902679693f33bf771f2665aa71e99c121e28632b.tar.gz external_llvm-902679693f33bf771f2665aa71e99c121e28632b.tar.bz2 |
Fix compilation error on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59629 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAllocPBQP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |