From: Jay Foad Date: Wed, 30 Mar 2011 13:29:06 +0000 (+0000) Subject: Add a comment on PHINode::Create(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4499176789a0e33b1d4ec0517b0a3dd8a58eef85;p=oota-llvm.git Add a comment on PHINode::Create(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index e7161cd1d46..24b59e481ca 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1829,6 +1829,8 @@ class PHINode : public Instruction { protected: virtual PHINode *clone_impl() const; public: + /// Constructors - NumReservedValues is a hint for the number of incoming + /// edges that this phi node will have (use 0 if you really have no idea). static PHINode *Create(const Type *Ty, unsigned NumReservedValues, const Twine &NameStr = "", Instruction *InsertBefore = 0) {