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

Unified Diff: src/IceInst.cpp

Issue 1866463002: Subzero: Improve non-MINIMAL string performance. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 8 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/IceCfgNode.cpp ('k') | src/IceOperand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInst.cpp
diff --git a/src/IceInst.cpp b/src/IceInst.cpp
index 719791a7e42245d3d179bcf80c3054f92a5335b2..d860d1ea3cab92dab432f7c5433b88776db47c63 100644
--- a/src/IceInst.cpp
+++ b/src/IceInst.cpp
@@ -452,7 +452,7 @@ Inst *InstPhi::lower(Cfg *Func) {
assert(Dest);
Variable *NewSrc = Func->makeVariable(Dest->getType());
if (BuildDefs::dump())
- NewSrc->setName(Func, Dest->getName(Func) + "_phi");
+ NewSrc->setName(Func, Dest->getName() + "_phi");
if (auto *NewSrc64On32 = llvm::dyn_cast<Variable64On32>(NewSrc))
NewSrc64On32->initHiLo(Func);
this->Dest = NewSrc;
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceOperand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698