Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/IceTargetLowering.h

Issue 1961743002: Subzero: Update for LLVM 3.9 (trunk). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: Remove unnecessary variable Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceInst.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 88de3d5321bf275c8827b44bdadc1805f2cbdb87..dcba5ce81618e78d23d823297fda076dd4245320 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -79,13 +79,13 @@ public:
Inst *getNextInst() const {
if (Next == End)
return nullptr;
- return Next;
+ return iteratorToInst(Next);
}
Inst *getNextInst(InstList::iterator &Iter) const {
advanceForward(Iter);
if (Iter == End)
return nullptr;
- return Iter;
+ return iteratorToInst(Iter);
}
CfgNode *getNode() const { return Node; }
bool atEnd() const { return Cur == End; }
« no previous file with comments | « src/IceInst.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698