forked from OSchip/llvm-project
parent
94482840f5
commit
78aa3452f6
|
@ -34,11 +34,6 @@ public:
|
|||
: MCObjectStreamer(Context, TAB, OS, Emitter),
|
||||
SeenIdent(false) {}
|
||||
|
||||
MCELFStreamer(MCContext &Context, MCAsmBackend &TAB, raw_ostream &OS,
|
||||
MCCodeEmitter *Emitter, MCAssembler *Assembler)
|
||||
: MCObjectStreamer(Context, TAB, OS, Emitter, Assembler),
|
||||
SeenIdent(false) {}
|
||||
|
||||
virtual ~MCELFStreamer();
|
||||
|
||||
/// state management
|
||||
|
|
|
@ -51,8 +51,6 @@ class MCObjectStreamer : public MCStreamer {
|
|||
protected:
|
||||
MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB, raw_ostream &OS,
|
||||
MCCodeEmitter *Emitter);
|
||||
MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB, raw_ostream &OS,
|
||||
MCCodeEmitter *Emitter, MCAssembler *Assembler);
|
||||
~MCObjectStreamer();
|
||||
|
||||
public:
|
||||
|
|
|
@ -30,12 +30,6 @@ MCObjectStreamer::MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB,
|
|||
*TAB.createObjectWriter(OS), OS)),
|
||||
CurSectionData(nullptr), EmitEHFrame(true), EmitDebugFrame(false) {}
|
||||
|
||||
MCObjectStreamer::MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB,
|
||||
raw_ostream &OS, MCCodeEmitter *Emitter_,
|
||||
MCAssembler *Assembler)
|
||||
: MCStreamer(Context), Assembler(Assembler), CurSectionData(nullptr),
|
||||
EmitEHFrame(true), EmitDebugFrame(false) {}
|
||||
|
||||
MCObjectStreamer::~MCObjectStreamer() {
|
||||
delete &Assembler->getBackend();
|
||||
delete &Assembler->getEmitter();
|
||||
|
|
Loading…
Reference in New Issue