forked from OSchip/llvm-project
				
			Improve doxygen, from part of Evan's patch that didn't apply.
llvm-svn: 21394
This commit is contained in:
		
							parent
							
								
									7ceb081f3f
								
							
						
					
					
						commit
						954c64d532
					
				| 
						 | 
					@ -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