[llvm-commits] CVS: llvm/include/llvm/Support/CFG.h

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 7 12:14:01 PDT 2002


Changes in directory llvm/include/llvm/Support:

CFG.h updated: 1.6 -> 1.7

---
Log message:

Fix bug in last checkin


---
Diffs of the changes:

Index: llvm/include/llvm/Support/CFG.h
diff -u llvm/include/llvm/Support/CFG.h:1.6 llvm/include/llvm/Support/CFG.h:1.7
--- llvm/include/llvm/Support/CFG.h:1.6	Mon Oct  7 11:53:22 2002
+++ llvm/include/llvm/Support/CFG.h	Mon Oct  7 12:13:22 2002
@@ -104,6 +104,7 @@
   inline const _Self &operator=(const _Self &I) {
     assert(Term == I.Term &&"Cannot assign iterators to two different blocks!");
     idx = I.idx;
+    return *this;
   }
     
   inline bool operator==(const _Self& x) const { return idx == x.idx; }





More information about the llvm-commits mailing list