summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/InstIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/InstIterator.h b/llvm/include/llvm/Support/InstIterator.h
index 4f8f2af6c52..e9db75bb284 100644
--- a/llvm/include/llvm/Support/InstIterator.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud