aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:35:30 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:35:30 +0000
commitd55e98673a376918c3d109b1c1b8cb004fdeba08 (patch)
treef9c79d8212a10c26f9e83ad6757c74be49dc43b3
parent6a5471038d5d7d001b12cdfba91a291696b330ca (diff)
Kill unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5870 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/InstIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/InstIterator.h b/include/llvm/Support/InstIterator.h
index 4f8f2af6c5..e9db75bb28 100644
--- a/include/llvm/Support/InstIterator.h
+++ b/include/llvm/Support/InstIterator.h
@@ -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 {