aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-11 21:12:22 +0000
committerChris Lattner <sabre@nondot.org>2004-06-11 21:12:22 +0000
commit51a54e6f1b215c071d207895d9b1607a89acac4c (patch)
treef8c0c982ab32920435e0c34a537e2aebc29e2ca6
parent253231eb39ad13b9d6a973c2b8d2ed79f41fb477 (diff)
It is no longer 2001
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14157 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/iPHINode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/iPHINode.h b/include/llvm/iPHINode.h
index 0d577ccabd..bd52993c1f 100644
--- a/include/llvm/iPHINode.h
+++ b/include/llvm/iPHINode.h
@@ -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));
}