mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fixed non-const iterator error.
llvm-svn: 114273
This commit is contained in:
parent
4a8c999803
commit
2d87a43549
@ -204,7 +204,7 @@ std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(
|
||||
addSpillCosts(g.getNodeCosts(node), spillCost);
|
||||
}
|
||||
|
||||
for (RegSet::iterator vr1Itr = vregs.begin(), vrEnd = vregs.end();
|
||||
for (RegSet::const_iterator vr1Itr = vregs.begin(), vrEnd = vregs.end();
|
||||
vr1Itr != vrEnd; ++vr1Itr) {
|
||||
unsigned vr1 = *vr1Itr;
|
||||
const LiveInterval &l1 = lis->getInterval(vr1);
|
||||
|
Loading…
Reference in New Issue
Block a user