forked from OSchip/llvm-project
Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see LLVM r139237)
llvm-svn: 139238
This commit is contained in:
parent
4c493e8050
commit
98f3e18f25
|
@ -282,7 +282,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) {
|
|||
// 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) {
|
||||
|
|
Loading…
Reference in New Issue