forked from OSchip/llvm-project
Remove unused special member functions and reformat.
llvm-svn: 195077
This commit is contained in:
parent
1192a8b428
commit
37776fb3a6
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue