diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-26 05:06:48 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-26 05:06:48 +0000 |
commit | 7c44f63f898ae8d83ce8faea7fbf19fd5aa3f17a (patch) | |
tree | c957f16b5a8c529f50a7e6fa72dd5682d0f06b06 /lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp | |
parent | baa58b6692992cec1c8c88b43f4811165e43d5d4 (diff) | |
download | llvm-7c44f63f898ae8d83ce8faea7fbf19fd5aa3f17a.tar.gz llvm-7c44f63f898ae8d83ce8faea7fbf19fd5aa3f17a.tar.bz2 llvm-7c44f63f898ae8d83ce8faea7fbf19fd5aa3f17a.tar.xz |
Convert some easy uses of EmitRawText to TargetStreamer methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp')
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp b/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp index 6b57dff2c8..f4304cf6e4 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp +++ b/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp @@ -55,6 +55,34 @@ void MipsTargetAsmStreamer::emitDirectiveSetNoMips16() { OS << "\t.set\tnomips16\n"; } +void MipsTargetAsmStreamer::emitDirectiveSetReorder() { + OS << "\t.set\treorder\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveSetNoReorder() { + OS << "\t.set\tnoreorder\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveSetMacro() { + OS << "\t.set\tmacro\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveSetNoMacro() { + OS << "\t.set\tnomacro\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveSetAt() { + OS << "\t.set\tat\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveSetNoAt() { + OS << "\t.set\tnoat\n"; +} + +void MipsTargetAsmStreamer::emitDirectiveEnd(StringRef Name) { + OS << "\t.end\t" << Name << '\n'; +} + void MipsTargetAsmStreamer::emitDirectiveEnt(const MCSymbol &Symbol) { OS << "\t.ent\t" << Symbol.getName() << '\n'; } @@ -109,6 +137,34 @@ void MipsTargetELFStreamer::emitDirectiveSetNoMips16() { // FIXME: implement. } +void MipsTargetELFStreamer::emitDirectiveSetReorder() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveSetNoReorder() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveSetMacro() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveSetNoMacro() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveSetAt() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveSetNoAt() { + // FIXME: implement. +} + +void MipsTargetELFStreamer::emitDirectiveEnd(StringRef Name) { + // FIXME: implement. +} + void MipsTargetELFStreamer::emitDirectiveEnt(const MCSymbol &Symbol) { // FIXME: implement. } |