diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-19 12:56:21 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-19 12:56:21 +0000 |
commit | 4172d641d196ef75162c43be61205cf8ab1817f7 (patch) | |
tree | e4ce0f72479e2c4e34814702dce69203d75e69e0 | |
parent | 7e8bf3422fdae997ecabd180f08d72f8dd85ceb8 (diff) | |
download | bcm5719-llvm-4172d641d196ef75162c43be61205cf8ab1817f7.tar.gz bcm5719-llvm-4172d641d196ef75162c43be61205cf8ab1817f7.zip |
Fix compilation error on MSVC.
llvm-svn: 59629
-rw-r--r-- | llvm/lib/CodeGen/RegAllocPBQP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp index e9271ef84ae..1f49199a4eb 100644 --- a/llvm/lib/CodeGen/RegAllocPBQP.cpp +++ b/llvm/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; |