Provide a way to change the incoming value for a phi node
llvm-svn: 495
This commit is contained in:
parent
7170360d74
commit
c6d8db65c8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue