It is no longer 2001

llvm-svn: 14157
This commit is contained in:
Chris Lattner 2004-06-11 21:12:22 +00:00
parent 787ed2f377
commit 27f44fe1f8
1 changed files with 3 additions and 3 deletions

View File

@ -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));
}