]> granicus.if.org Git - clang/commitdiff
Update createMCAsmParser() to match r137735.
authorJim Grosbach <grosbach@apple.com>
Tue, 16 Aug 2011 18:33:55 +0000 (18:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 16 Aug 2011 18:33:55 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137736 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1as_main.cpp

index a33fecc8001d02909a14a3cb532bcae82234ca37..162188849236ed95f358b52b7355458f076efb9f 100644 (file)
@@ -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) {