Let's try to fix GNU libstdc++ buildbots
authorMatthias Braun <matze@braunis.de>
Mon, 24 Aug 2015 23:19:39 +0000 (23:19 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 24 Aug 2015 23:19:39 +0000 (23:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245898 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBasicBlock.cpp

index 0c070321369c852a843762cdc184e6ab1b176a58..f039aed5e3defb5120895b52c428aa41c5744298 100644 (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);
 }