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

Unified Diff: src/IceInstMIPS32.h

Issue 2380023002: [SubZero] Vector types support for MIPS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressed review comments Created 4 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
Index: src/IceInstMIPS32.h
diff --git a/src/IceInstMIPS32.h b/src/IceInstMIPS32.h
index bfb19be9383a54d54e947ed2f8aa9148b9f09a69..f4bbcfb31fc00e02aa3ca1a6d3d9dae625b81215 100644
--- a/src/IceInstMIPS32.h
+++ b/src/IceInstMIPS32.h
@@ -953,11 +953,10 @@ public:
void dump(const Cfg *Func) const override {
if (!BuildDefs::dump())
return;
- Ostream &Str = Func->getContext()->getStrEmit();
- Str << "\t" << Opcode << "\t";
- getSrc(0)->emit(Func);
- Str << ", ";
- getSrc(1)->emit(Func);
+ Ostream &Str = Func->getContext()->getStrDump();
+ dumpOpcode(Str, Opcode, getSrc(0)->getType());
+ Str << " ";
+ dumpSources(Func);
Str << ", " << TrapCode;
}
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceOperand.h » ('j') | src/IceTargetLoweringMIPS32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698