Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index 07d665f105b333d6f9d027db937709d074e56470..da1d3f0ae5d67c9d687416ea4ba43abb4b568e71 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -56,10 +56,8 @@ public: |
CfgNode *getNode() const { return Node; } |
bool atEnd() const { return Cur == End; } |
InstList::iterator getCur() const { return Cur; } |
+ InstList::iterator getNext() const { return Next; } |
InstList::iterator getEnd() const { return End; } |
- // Adaptor to enable range-based for loops. |
- InstList::iterator begin() const { return getCur(); } |
- InstList::iterator end() const { return getEnd(); } |
void insert(Inst *Inst); |
Inst *getLastInserted() const; |
void advanceCur() { Cur = Next; } |