mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 13:33:26 +00:00
It is no longer 2001
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
253231eb39
commit
51a54e6f1b
@ -76,10 +76,10 @@ public:
|
||||
|
||||
/// addIncoming - Add an incoming value to the end of the PHI list
|
||||
///
|
||||
void addIncoming(Value *D, BasicBlock *BB) {
|
||||
assert(getType() == D->getType() &&
|
||||
void addIncoming(Value *V, BasicBlock *BB) {
|
||||
assert(getType() == V->getType() &&
|
||||
"All operands to PHI node must be the same type as the PHI node!");
|
||||
Operands.push_back(Use(D, this));
|
||||
Operands.push_back(Use(V, this));
|
||||
Operands.push_back(Use(reinterpret_cast<Value*>(BB), this));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user