]> granicus.if.org Git - clang/commitdiff
Fix build by passing in the needed variable after r153860.
authorBill Wendling <isanbard@gmail.com>
Mon, 2 Apr 2012 06:17:37 +0000 (06:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 2 Apr 2012 06:17:37 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153861 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1as_main.cpp

index 49a4172c04760e9a3b11655d1f7f638d6b7c454e..508d6da54c92ad523a64b649886acf0ebb1d10ab 100644 (file)
@@ -323,7 +323,8 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
   // FIXME: There is a bit of code duplication with addPassesToEmitFile.
   if (Opts.OutputType == AssemblerInvocation::FT_Asm) {
     MCInstPrinter *IP =
-      TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *MRI, *STI);
+      TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *MCII, *MRI,
+                                     *STI);
     MCCodeEmitter *CE = 0;
     MCAsmBackend *MAB = 0;
     if (Opts.ShowEncoding) {