From 742376cfaa846fa111f8cf32d6cb768db8fffecb Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 1 Jul 2010 20:48:51 +0000 Subject: [PATCH] MC: Fix some stray hunks I didn't intend to commit. llvm-svn: 107428 --- include/llvm/MC/MCParser/AsmParser.h | 1 - lib/MC/MCParser/AsmParser.cpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/MC/MCParser/AsmParser.h b/include/llvm/MC/MCParser/AsmParser.h index 8faa1a42e6d..afd001b778e 100644 --- a/include/llvm/MC/MCParser/AsmParser.h +++ b/include/llvm/MC/MCParser/AsmParser.h @@ -43,7 +43,6 @@ private: MCContext &Ctx; MCStreamer &Out; SourceMgr &SrcMgr; - TargetAsmParser *GenericTargetParser; TargetAsmParser *TargetParser; /// This is the current buffer index we're lexing from as managed by the diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 860277409d9..94b545a2059 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -34,7 +34,8 @@ enum { DEFAULT_ADDRSPACE = 0 }; AsmParser::AsmParser(const Target &T, SourceMgr &_SM, MCContext &_Ctx, MCStreamer &_Out, const MCAsmInfo &_MAI) - : Lexer(_MAI), Ctx(_Ctx), Out(_Out), SrcMgr(_SM), CurBuffer(0) { + : Lexer(_MAI), Ctx(_Ctx), Out(_Out), SrcMgr(_SM), TargetParser(0), + CurBuffer(0) { Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); // Debugging directives.