mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Remove unused special member functions and reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15602d786b
commit
e40e68add7
@ -23,18 +23,8 @@ using namespace llvm;
|
|||||||
// pin vtable to this file
|
// pin vtable to this file
|
||||||
void MipsTargetStreamer::anchor() {}
|
void MipsTargetStreamer::anchor() {}
|
||||||
|
|
||||||
MipsTargetAsmStreamer::MipsTargetAsmStreamer() {}
|
void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) { return; }
|
||||||
|
void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) { return; }
|
||||||
void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) {
|
|
||||||
return;
|
|
||||||
|
|
||||||
}
|
|
||||||
void MipsTargetAsmStreamer::emitSymSTO(MCSymbol *Sym, unsigned Val) {
|
|
||||||
return;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
MipsTargetELFStreamer::MipsTargetELFStreamer() {}
|
|
||||||
|
|
||||||
MCELFStreamer &MipsTargetELFStreamer::getStreamer() {
|
MCELFStreamer &MipsTargetELFStreamer::getStreamer() {
|
||||||
return static_cast<MCELFStreamer &>(*Streamer);
|
return static_cast<MCELFStreamer &>(*Streamer);
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MipsTargetStreamer : public MCTargetStreamer {
|
class MipsTargetStreamer : public MCTargetStreamer {
|
||||||
virtual void anchor();
|
virtual void anchor();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void emitMipsHackELFFlags(unsigned Flags) = 0;
|
virtual void emitMipsHackELFFlags(unsigned Flags) = 0;
|
||||||
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val) = 0;
|
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val) = 0;
|
||||||
@ -24,7 +25,6 @@ public:
|
|||||||
// This part is for ascii assembly output
|
// This part is for ascii assembly output
|
||||||
class MipsTargetAsmStreamer : public MipsTargetStreamer {
|
class MipsTargetAsmStreamer : public MipsTargetStreamer {
|
||||||
public:
|
public:
|
||||||
MipsTargetAsmStreamer();
|
|
||||||
virtual void emitMipsHackELFFlags(unsigned Flags);
|
virtual void emitMipsHackELFFlags(unsigned Flags);
|
||||||
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
|
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
|
||||||
};
|
};
|
||||||
@ -33,7 +33,6 @@ public:
|
|||||||
class MipsTargetELFStreamer : public MipsTargetStreamer {
|
class MipsTargetELFStreamer : public MipsTargetStreamer {
|
||||||
public:
|
public:
|
||||||
MCELFStreamer &getStreamer();
|
MCELFStreamer &getStreamer();
|
||||||
MipsTargetELFStreamer();
|
|
||||||
virtual void emitMipsHackELFFlags(unsigned Flags);
|
virtual void emitMipsHackELFFlags(unsigned Flags);
|
||||||
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
|
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user