Kill unneccesary &*
[oota-llvm.git] / 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 {