[llvm-commits] CVS: llvm/include/llvm/iPHINode.h

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 11 16:18:01 PDT 2004


Changes in directory llvm/include/llvm:

iPHINode.h updated: 1.18 -> 1.19

---
Log message:

It is no longer 2001


---
Diffs of the changes:  (+3 -3)

Index: llvm/include/llvm/iPHINode.h
diff -u llvm/include/llvm/iPHINode.h:1.18 llvm/include/llvm/iPHINode.h:1.19
--- llvm/include/llvm/iPHINode.h:1.18	Tue Jun  8 12:44:21 2004
+++ llvm/include/llvm/iPHINode.h	Fri Jun 11 16:12:22 2004
@@ -76,10 +76,10 @@
 
   /// 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));
   }
   





More information about the llvm-commits mailing list