Improve doxygen, from part of Evan's patch that didn't apply.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-04-21 16:06:03 +00:00
parent 0f67dd6237
commit 566f600779

View File

@ -128,12 +128,12 @@ BasicBlock *BasicBlock::getSinglePredecessor() {
return (PI == E) ? ThePred : 0 /*multiple preds*/; return (PI == E) ? ThePred : 0 /*multiple preds*/;
} }
// removePredecessor - This method is used to notify a BasicBlock that the /// removePredecessor - This method is used to notify a BasicBlock that the
// specified Predecessor of the block is no longer able to reach it. This is /// specified Predecessor of the block is no longer able to reach it. This is
// actually not used to update the Predecessor list, but is actually used to /// actually not used to update the Predecessor list, but is actually used to
// update the PHI nodes that reside in the block. Note that this should be /// update the PHI nodes that reside in the block. Note that this should be
// called while the predecessor still refers to this block. /// called while the predecessor still refers to this block.
// ///
void BasicBlock::removePredecessor(BasicBlock *Pred, void BasicBlock::removePredecessor(BasicBlock *Pred,
bool DontDeleteUselessPHIs) { bool DontDeleteUselessPHIs) {
assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs. assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs.