diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-16 18:33:55 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-16 18:33:55 +0000 |
commit | 09190be8ef65eebbbd604e3479ce1cc49c97605e (patch) | |
tree | 7d7d6547b76ceec16b057d35359c0b713f7abf25 | |
parent | f0c7fe56891d9d329e45d968a3ac2437f78f4bfa (diff) |
Update createMCAsmParser() to match r137735.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137736 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/driver/cc1as_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index a33fecc800..1621888492 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -306,7 +306,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) { Str.get()->InitSections(); } - OwningPtr<MCAsmParser> Parser(createMCAsmParser(*TheTarget, SrcMgr, Ctx, + OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, *Str.get(), *MAI)); OwningPtr<MCTargetAsmParser> TAP(TheTarget->createMCAsmParser(*STI, *Parser)); if (!TAP) { |