From: Chris Lattner Date: Tue, 12 Apr 2005 18:51:53 +0000 (+0000) Subject: add an argument. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0b2fc9b560a0cacbb9ddd8db10ef35a2ae5d334e;p=oota-llvm.git add an argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21254 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 38ac1093659..23744d68243 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -155,7 +155,7 @@ public: /// update the PHI nodes that reside in the block. Note that this should be /// called while the predecessor still refers to this block. /// - void removePredecessor(BasicBlock *Pred); + void removePredecessor(BasicBlock *Pred, bool DontDeleteUselessPHIs = false); /// splitBasicBlock - This splits a basic block into two at the specified /// instruction. Note that all instructions BEFORE the specified iterator