forked from OSchip/llvm-project
Fix previous commit and fully remove variable.
llvm-svn: 195076
This commit is contained in:
parent
ac81451e50
commit
1192a8b428
|
@ -141,7 +141,7 @@ createMCAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS,
|
|||
bool isVerboseAsm, bool useLoc, bool useCFI,
|
||||
bool useDwarfDirectory, MCInstPrinter *InstPrint,
|
||||
MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst) {
|
||||
MipsTargetAsmStreamer *S = new MipsTargetAsmStreamer(OS);
|
||||
MipsTargetAsmStreamer *S = new MipsTargetAsmStreamer();
|
||||
|
||||
return llvm::createAsmStreamer(Ctx, S, OS, isVerboseAsm, useLoc, useCFI,
|
||||
useDwarfDirectory, InstPrint, CE, TAB,
|
||||
|
|
|
@ -23,8 +23,7 @@ using namespace llvm;
|
|||
// pin vtable to this file
|
||||
void MipsTargetStreamer::anchor() {}
|
||||
|
||||
MipsTargetAsmStreamer::MipsTargetAsmStreamer(formatted_raw_ostream &OS)
|
||||
: OS(OS) {}
|
||||
MipsTargetAsmStreamer::MipsTargetAsmStreamer() {}
|
||||
|
||||
void MipsTargetAsmStreamer::emitMipsHackELFFlags(unsigned Flags) {
|
||||
return;
|
||||
|
|
|
@ -23,9 +23,8 @@ public:
|
|||
|
||||
// This part is for ascii assembly output
|
||||
class MipsTargetAsmStreamer : public MipsTargetStreamer {
|
||||
|
||||
public:
|
||||
MipsTargetAsmStreamer(formatted_raw_ostream &OS);
|
||||
MipsTargetAsmStreamer();
|
||||
virtual void emitMipsHackELFFlags(unsigned Flags);
|
||||
virtual void emitSymSTO(MCSymbol *Sym, unsigned Val);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue