1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Remove a redundant assertion in MachineBasicBlock.cpp. NFC.

llvm-svn: 253426
This commit is contained in:
Cong Hou 2015-11-18 01:55:56 +00:00
parent cc74715856
commit db19e7bb44

View File

@ -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);
}