Fix previous commit and fully remove variable.

llvm-svn: 195076
This commit is contained in:
Eric Christopher 2013-11-19 01:52:38 +00:00
parent ac81451e50
commit 1192a8b428
3 changed files with 3 additions and 5 deletions

View File

@ -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,

View File

@ -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;

View File

@ -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);
};