diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-04-02 06:17:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-04-02 06:17:37 +0000 |
commit | 99d43b4085c7dc85e6bf2612df2061988bc979ad (patch) | |
tree | 2781878db20fa4d8acd2caa7938a7d53bda15e95 /tools | |
parent | c5a89a1cc2f168ad0a115c560b8de5f1c952d8c5 (diff) |
Fix build by passing in the needed variable after r153860.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/driver/cc1as_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 49a4172c04..508d6da54c 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -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) { |