[cfe-commits] r139238 - /cfe/trunk/tools/driver/cc1as_main.cpp
James Molloy
james.molloy at arm.com
Wed Sep 7 10:25:31 PDT 2011
Author: jamesm
Date: Wed Sep 7 12:25:30 2011
New Revision: 139238
URL: http://llvm.org/viewvc/llvm-project?rev=139238&view=rev
Log:
Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see LLVM r139237)
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=139238&r1=139237&r2=139238&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Wed Sep 7 12:25:30 2011
@@ -282,7 +282,7 @@
// FIXME: There is a bit of code duplication with addPassesToEmitFile.
if (Opts.OutputType == AssemblerInvocation::FT_Asm) {
MCInstPrinter *IP =
- TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI);
+ TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *STI);
MCCodeEmitter *CE = 0;
MCAsmBackend *MAB = 0;
if (Opts.ShowEncoding) {
More information about the cfe-commits
mailing list