From 7a8b1150bf8e06900a1aaf2ffdf5ad67b3350f63 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 24 Aug 2015 23:19:39 +0000 Subject: Let's try to fix GNU libstdc++ buildbots llvm-svn: 245898 --- llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp') diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 0c070321369..f039aed5e3d 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/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); } -- cgit v1.2.3