projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ecfc86
)
Add a comment on PHINode::Create().
author
Jay Foad
<jay.foad@gmail.com>
Wed, 30 Mar 2011 13:29:06 +0000
(13:29 +0000)
committer
Jay Foad
<jay.foad@gmail.com>
Wed, 30 Mar 2011 13:29:06 +0000
(13:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128540
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instructions.h
b/include/llvm/Instructions.h
index e7161cd1d46c9d26964ea3587aedfaef240f2898..24b59e481cacca68bb24e24938b5f39a5e31429a 100644
(file)
--- 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) {