aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/iOther.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/iOther.h')
-rw-r--r--include/llvm/iOther.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h
index f2c542e..97f3262 100644
--- 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 {