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

Jim Grosbach grosbach at apple.com
Mon Mar 5 11:33:41 PST 2012


Author: grosbach
Date: Mon Mar  5 13:33:41 2012
New Revision: 152046

URL: http://llvm.org/viewvc/llvm-project?rev=152046&view=rev
Log:
Add MCRegisterInfo to the MCInstPrinter factory function interface.

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=152046&r1=152045&r2=152046&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Mon Mar  5 13:33:41 2012
@@ -323,7 +323,7 @@
   // FIXME: There is a bit of code duplication with addPassesToEmitFile.
   if (Opts.OutputType == AssemblerInvocation::FT_Asm) {
     MCInstPrinter *IP =
-      TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *STI);
+      TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *MRI, *STI);
     MCCodeEmitter *CE = 0;
     MCAsmBackend *MAB = 0;
     if (Opts.ShowEncoding) {





More information about the cfe-commits mailing list