[llvm-commits] [llvm] r59629 - /llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Wed Nov 19 04:56:21 PST 2008
Author: akirtzidis
Date: Wed Nov 19 06:56:21 2008
New Revision: 59629
URL: http://llvm.org/viewvc/llvm-project?rev=59629&view=rev
Log:
Fix compilation error on MSVC.
Modified:
llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=59629&r1=59628&r2=59629&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp Wed Nov 19 06:56:21 2008
@@ -731,7 +731,7 @@
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;
More information about the llvm-commits
mailing list