Unbreak msvc build.

llvm-svn: 114284
This commit is contained in:
Benjamin Kramer 2010-09-18 14:41:26 +00:00
parent aaa6badd05
commit 45a56d3c49
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(
const LiveInterval &l1 = lis->getInterval(vr1);
const PBQPRAProblem::AllowedSet &vr1Allowed = p->getAllowedSet(vr1);
for (RegSet::iterator vr2Itr = llvm::next(vr1Itr);
for (RegSet::const_iterator vr2Itr = llvm::next(vr1Itr);
vr2Itr != vrEnd; ++vr2Itr) {
unsigned vr2 = *vr2Itr;
const LiveInterval &l2 = lis->getInterval(vr2);