Kill unneccesary &*
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 16:35:30 +0000 (16:35 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2003 16:35:30 +0000 (16:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5870 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/InstIterator.h

index 4f8f2af6c52f494f31b1c78e1f240f1cf8019bde..e9db75bb28442957b3b6249150284a1dd5b7e98b 100644 (file)
@@ -59,7 +59,7 @@ public:
   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 {