diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 354bd3ef3e8..80e5d82b9a9 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -545,7 +545,6 @@ void MachineBasicBlock::addSuccessorWithoutProb(MachineBasicBlock *Succ) { void MachineBasicBlock::removeSuccessor(MachineBasicBlock *Succ) { succ_iterator I = std::find(Successors.begin(), Successors.end(), Succ); - assert(I != Successors.end() && "Not a current successor!"); removeSuccessor(I); }