mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 00:11:56 +00:00
Provide a way to change the incoming value for a phi node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5341e214d9
commit
c21708a4ea
@ -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…
x
Reference in New Issue
Block a user