diff options
author | Sean Callanan <scallanan@apple.com> | 2010-01-21 00:19:58 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-01-21 00:19:58 +0000 |
commit | fd0b0288e2ee5ccf3f1d47090542710c67a77cf7 (patch) | |
tree | bc4826e2dfb787c6eef093ba692a2163936207a6 /tools/llvm-mc/llvm-mc.cpp | |
parent | 05273448533565cf14d70e10f88919ee51755bc8 (diff) |
Moved handling of inclusion from the AsmLexer to
the AsmParser, breaking AsmLexer's dependence on
SourceMgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/llvm-mc.cpp')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index c84c684f19..fe545ab6e9 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -134,7 +134,7 @@ static int AsLexInput(const char *ProgName) { const MCAsmInfo *MAI = TheTarget->createAsmInfo(TripleName); assert(MAI && "Unable to create target asm info!"); - AsmLexer Lexer(SrcMgr, *MAI); + AsmLexer Lexer(*MAI); bool Error = false; |