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; |
} |