diff options
author | Sean Callanan <scallanan@apple.com> | 2010-01-20 22:45:23 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-01-20 22:45:23 +0000 |
commit | 1a0eeb6e06751ab63e1352634add041ac35a4b46 (patch) | |
tree | 0bc3d29c514693294f44c330cc1f96971e46eec2 /llvm/tools/llvm-mc/AsmParser.h | |
parent | 802f12f719150fe9f052dff5c3c8ef4b49653a26 (diff) | |
download | bcm5719-llvm-1a0eeb6e06751ab63e1352634add041ac35a4b46.tar.gz bcm5719-llvm-1a0eeb6e06751ab63e1352634add041ac35a4b46.zip |
Promoted the reference to the SourceMgr from AsmLexer
into AsmParser, in preparation for making AsmLexer
independent of the SourceMgr
llvm-svn: 94043
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.h')
-rw-r--r-- | llvm/tools/llvm-mc/AsmParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h index f1c330c132c..af43f45cffa 100644 --- a/llvm/tools/llvm-mc/AsmParser.h +++ b/llvm/tools/llvm-mc/AsmParser.h @@ -32,14 +32,16 @@ class MCInst; class MCStreamer; class MCAsmInfo; class MCValue; +class SourceMgr; class TargetAsmParser; class Twine; class AsmParser : public MCAsmParser { -private: +private: AsmLexer Lexer; MCContext &Ctx; MCStreamer &Out; + SourceMgr &SrcMgr; TargetAsmParser *TargetParser; AsmCond TheCondState; |