Fix compilation error on MSVC.

llvm-svn: 59629
This commit is contained in:
Argyrios Kyrtzidis 2008-11-19 12:56:21 +00:00
parent e9e4de3e54
commit c7a898544b

View File

@ -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;