From: Matthias Braun Date: Mon, 24 Aug 2015 23:19:39 +0000 (+0000) Subject: Let's try to fix GNU libstdc++ buildbots X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2dd939e51cea1d04580dd7db6aac77d8ee4faa13;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 0c070321369..f039aed5e3d 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -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); }