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

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 23 11:36:01 PDT 2003


Changes in directory llvm/include/llvm/Support:

InstIterator.h updated: 1.4 -> 1.5

---
Log message:

Kill unneccesary &*


---
Diffs of the changes:

Index: llvm/include/llvm/Support/InstIterator.h
diff -u llvm/include/llvm/Support/InstIterator.h:1.4 llvm/include/llvm/Support/InstIterator.h:1.5
--- llvm/include/llvm/Support/InstIterator.h:1.4	Thu Jul 25 10:00:45 2002
+++ llvm/include/llvm/Support/InstIterator.h	Wed Apr 23 11:35:30 2003
@@ -59,7 +59,7 @@
   inline BBIty &getBasicBlockIterator()  { return BB; }
   inline BIty  &getInstructionIterator() { return BI; }
   
-  inline IIty operator*()  const { return &*BI; }
+  inline IIty operator*()  const { return BI; }
   inline IIty operator->() const { return operator*(); }
   
   inline bool operator==(const InstIterator &y) const { 





More information about the llvm-commits mailing list