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

Unified Diff: src/IceCfgNode.cpp

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/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfgNode.cpp
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
index fb3708b0d08a94acb2c38ba80b6622719f42fd36..78e3d18f414a94f1baa6f68923eb977604f30f42 100644
--- a/src/IceCfgNode.cpp
+++ b/src/IceCfgNode.cpp
@@ -1342,7 +1342,7 @@ void CfgNode::emitIAS(Cfg *Func) const {
I->emitIAS(Func);
// Only update stats during the final pass.
if (Retrying)
- updateStats(Func, I);
+ updateStats(Func, iteratorToInst(I));
} else {
// Treat it as though there were an implicit bundle_lock and
// bundle_unlock wrapping the instruction.
@@ -1352,7 +1352,7 @@ void CfgNode::emitIAS(Cfg *Func) const {
Helper.rollback();
Helper.padToNextBundle();
I->emitIAS(Func);
- updateStats(Func, I);
+ updateStats(Func, iteratorToInst(I));
Helper.leaveBundleLockRegion();
}
}
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698