[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Apr 21 09:06:16 PDT 2005
Changes in directory llvm/lib/VMCore:
BasicBlock.cpp updated: 1.61 -> 1.62
---
Log message:
Improve doxygen, from part of Evan's patch that didn't apply.
---
Diffs of the changes: (+6 -6)
BasicBlock.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.61 llvm/lib/VMCore/BasicBlock.cpp:1.62
--- llvm/lib/VMCore/BasicBlock.cpp:1.61 Thu Apr 21 11:04:49 2005
+++ llvm/lib/VMCore/BasicBlock.cpp Thu Apr 21 11:06:03 2005
@@ -128,12 +128,12 @@
return (PI == E) ? ThePred : 0 /*multiple preds*/;
}
-// 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
-// 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
-// called while the predecessor still refers to this block.
-//
+/// 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
+/// 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
+/// called while the predecessor still refers to this block.
+///
void BasicBlock::removePredecessor(BasicBlock *Pred,
bool DontDeleteUselessPHIs) {
assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs.
More information about the llvm-commits
mailing list