[cfe-commits] r153861 - /cfe/trunk/tools/driver/cc1as_main.cpp

Bill Wendling isanbard at gmail.com
Sun Apr 1 23:17:37 PDT 2012


Author: void
Date: Mon Apr  2 01:17:37 2012
New Revision: 153861

URL: http://llvm.org/viewvc/llvm-project?rev=153861&view=rev
Log:
Fix build by passing in the needed variable after r153860.

Modified:
    cfe/trunk/tools/driver/cc1as_main.cpp

Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=153861&r1=153860&r2=153861&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Mon Apr  2 01:17:37 2012
@@ -323,7 +323,8 @@
   // 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) {





More information about the cfe-commits mailing list