Unbreak msvc build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-09-18 14:41:26 +00:00
parent 3fde69c0f1
commit 9e8d1f97e9

View File

@ -210,7 +210,7 @@ std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(
const LiveInterval &l1 = lis->getInterval(vr1); const LiveInterval &l1 = lis->getInterval(vr1);
const PBQPRAProblem::AllowedSet &vr1Allowed = p->getAllowedSet(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) { vr2Itr != vrEnd; ++vr2Itr) {
unsigned vr2 = *vr2Itr; unsigned vr2 = *vr2Itr;
const LiveInterval &l2 = lis->getInterval(vr2); const LiveInterval &l2 = lis->getInterval(vr2);