Remove unused special member functions and reformat.

llvm-svn: 195077
This commit is contained in:
Eric Christopher 2013-11-19 02:01:07 +00:00
parent 1192a8b428
commit 37776fb3a6
2 changed files with 3 additions and 14 deletions

View File

@ -23,18 +23,8 @@ using namespace llvm;
// pin vtable to this file
void MipsTargetStreamer::anchor() {}
MipsTargetAsmStreamer::MipsTargetAsmStreamer() {}
void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) {
return;
}
void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) {
return;
}
MipsTargetELFStreamer::MipsTargetELFStreamer() {}
void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) { return; }
void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) { return; }
MCELFStreamer &MipsTargetELFStreamer::getStreamer() {
return static_cast<MCELFStreamer &>(*Streamer);

View File

@ -16,6 +16,7 @@
namespace llvm {
class MipsTargetStreamer : public MCTargetStreamer {
virtual void anchor();
public:
virtual void emitMipsHackELFFlags(unsigned Flags) = 0;
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val) = 0;
@ -24,7 +25,6 @@ public:
// This part is for ascii assembly output
class MipsTargetAsmStreamer : public MipsTargetStreamer {
public:
MipsTargetAsmStreamer();
virtual void emitMipsHackELFFlags(unsigned Flags);
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
};
@ -33,7 +33,6 @@ public:
class MipsTargetELFStreamer : public MipsTargetStreamer {
public:
MCELFStreamer &getStreamer();
MipsTargetELFStreamer();
virtual void emitMipsHackELFFlags(unsigned Flags);
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
};