From 4499176789a0e33b1d4ec0517b0a3dd8a58eef85 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 30 Mar 2011 13:29:06 +0000 Subject: [PATCH] Add a comment on PHINode::Create(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128540 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instructions.h | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.34.1