Let's try to fix GNU libstdc++ buildbots

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245898 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matthias Braun 2015-08-24 23:19:39 +00:00
parent 22d4f8a9a1
commit 2dd939e51c

View File

@ -323,7 +323,7 @@ void MachineBasicBlock::printAsOperand(raw_ostream &OS,
}
void MachineBasicBlock::removeLiveIn(unsigned Reg) {
livein_iterator I = std::find(LiveIns.begin(), LiveIns.end(), Reg);
livein_iterator I = std::find(livein_begin(), livein_end(), Reg);
if (I != LiveIns.end())
LiveIns.erase(I);
}