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

Unified Diff: src/IceInst.cpp

Issue 681783002: Subzero: Refactor newline emission for Inst::emit(). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 2 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/IceInstX8632.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 4aa6e6947fc030c5c14ba32faa8ee07b21c9b2c0..c9eb95e2a2fabed29c140c1c8beb52e3180ea1c5 100644
--- a/src/IceInst.cpp
+++ b/src/IceInst.cpp
@@ -709,7 +709,6 @@ void InstFakeDef::emit(const Cfg *Func) const {
getDest()->emit(Func);
Str << " = def.pseudo ";
emitSources(Func);
- Str << "\n";
}
void InstFakeDef::dump(const Cfg *Func) const {
@@ -724,7 +723,6 @@ void InstFakeUse::emit(const Cfg *Func) const {
Str << "\t# ";
Str << "use.pseudo ";
emitSources(Func);
- Str << "\n";
}
void InstFakeUse::dump(const Cfg *Func) const {
@@ -740,7 +738,6 @@ void InstFakeKill::emit(const Cfg *Func) const {
Str << "// ";
Str << "kill.pseudo ";
emitSources(Func);
- Str << "\n";
}
void InstFakeKill::dump(const Cfg *Func) const {
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceInstX8632.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698