mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
0f67dd6237
commit
566f600779
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user