[llvm-commits] [llvm] r107428 - in /llvm/trunk: include/llvm/MC/MCParser/AsmParser.h lib/MC/MCParser/AsmParser.cpp
Daniel Dunbar
daniel at zuster.org
Thu Jul 1 13:48:51 PDT 2010
Author: ddunbar
Date: Thu Jul 1 15:48:51 2010
New Revision: 107428
URL: http://llvm.org/viewvc/llvm-project?rev=107428&view=rev
Log:
MC: Fix some stray hunks I didn't intend to commit.
Modified:
llvm/trunk/include/llvm/MC/MCParser/AsmParser.h
llvm/trunk/lib/MC/MCParser/AsmParser.cpp
Modified: llvm/trunk/include/llvm/MC/MCParser/AsmParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/AsmParser.h?rev=107428&r1=107427&r2=107428&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/AsmParser.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/AsmParser.h Thu Jul 1 15:48:51 2010
@@ -43,7 +43,6 @@
MCContext &Ctx;
MCStreamer &Out;
SourceMgr &SrcMgr;
- TargetAsmParser *GenericTargetParser;
TargetAsmParser *TargetParser;
/// This is the current buffer index we're lexing from as managed by the
Modified: llvm/trunk/lib/MC/MCParser/AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=107428&r1=107427&r2=107428&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp (original)
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp Thu Jul 1 15:48:51 2010
@@ -34,7 +34,8 @@
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.
More information about the llvm-commits
mailing list