Fix build by passing in the needed variable after r153860.

llvm-svn: 153861
This commit is contained in:
Bill Wendling 2012-04-02 06:17:37 +00:00
parent 54bfde79db
commit f4ec97d9b0
1 changed files with 2 additions and 1 deletions

View 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) {