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

Unified Diff: src/IceRegAlloc.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/IceOperand.cpp ('k') | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRegAlloc.cpp
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp
index 2eb3a844b13d8b78e26c12f99e3064739f77c278..e7538525c1337f91abe73b03a0846c082c515f23 100644
--- a/src/IceRegAlloc.cpp
+++ b/src/IceRegAlloc.cpp
@@ -169,12 +169,12 @@ bool LinearScan::livenessValidateIntervals(
for (SizeT VarNum : DefsWithoutUses) {
Variable *Var = Vars[VarNum];
Str << "LR def without use, instruction " << LRBegin[VarNum]
- << ", variable " << Var->getName(Func) << "\n";
+ << ", variable " << Var->getName() << "\n";
}
for (SizeT VarNum : UsesBeforeDefs) {
Variable *Var = Vars[VarNum];
Str << "LR use before def, instruction " << LREnd[VarNum] << ", variable "
- << Var->getName(Func) << "\n";
+ << Var->getName() << "\n";
}
return false;
}
@@ -277,12 +277,12 @@ void LinearScan::initForInfOnly() {
for (SizeT VarNum : DefsWithoutUses) {
Variable *Var = Vars[VarNum];
Str << "LR def without use, instruction " << LRBegin[VarNum]
- << ", variable " << Var->getName(Func) << "\n";
+ << ", variable " << Var->getName() << "\n";
}
for (SizeT VarNum : UsesBeforeDefs) {
Variable *Var = Vars[VarNum];
Str << "LR use before def, instruction " << LREnd[VarNum]
- << ", variable " << Var->getName(Func) << "\n";
+ << ", variable " << Var->getName() << "\n";
}
}
llvm::report_fatal_error("initForInfOnly: Liveness error");
@@ -715,7 +715,7 @@ void LinearScan::handleNoFreeRegisters(IterationState &Iter) {
Func->setError("Unable to find a physical register for an "
"infinite-weight live range "
"(consider using -reg-reserve): " +
- Iter.Cur->getName(Func));
+ Iter.Cur->getName());
Handled.push_back(Iter.Cur);
return;
}
« no previous file with comments | « src/IceOperand.cpp ('k') | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698