[llvm-commits] CVS: llvm/include/llvm/Analysis/DSSupport.h

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 1 12:16:03 PDT 2003


Changes in directory llvm/include/llvm/Analysis:

DSSupport.h updated: 1.18 -> 1.19

---
Log message:

Ok, I'm a moron.  Fixed now


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.18 llvm/include/llvm/Analysis/DSSupport.h:1.19
--- llvm/include/llvm/Analysis/DSSupport.h:1.18	Tue Jul  1 12:10:50 2003
+++ llvm/include/llvm/Analysis/DSSupport.h	Tue Jul  1 12:15:11 2003
@@ -60,7 +60,7 @@
   }
   ~DSNodeHandle() { setNode((DSNode*)0); }
   DSNodeHandle &operator=(const DSNodeHandle &H) {
-    if (&H != this) return *this;  // Don't set offset to 0 if self assigning.
+    if (&H == this) return *this;  // Don't set offset to 0 if self assigning.
     Offset = 0; setNode(H.getNode()); Offset = H.Offset;
     return *this;
   }





More information about the llvm-commits mailing list