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:
5341e21
)
Provide a way to change the incoming value for a phi node
author
Chris Lattner
<sabre@nondot.org>
Fri, 7 Sep 2001 22:19:55 +0000
(22:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 7 Sep 2001 22:19:55 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@495
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iOther.h
patch
|
blob
|
history
diff --git
a/include/llvm/iOther.h
b/include/llvm/iOther.h
index f2c542e0a887bc9dcd9aa83e7e9412680b8a55f1..97f326258101744252a2d9054315603fcd23bd5d 100644
(file)
--- a/
include/llvm/iOther.h
+++ b/
include/llvm/iOther.h
@@
-38,6
+38,9
@@
public:
inline Value *getIncomingValue(unsigned i) {
return Operands[i*2];
}
+ inline void setIncomingValue(unsigned i, Value *V) {
+ Operands[i*2] = V;
+ }
// getIncomingBlock - Return incoming basic block #x
inline const BasicBlock *getIncomingBlock(unsigned i) const {