diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-03-05 19:33:41 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-03-05 19:33:41 +0000 |
commit | a187c5cc7cbc4931ef488374648348de5c057aee (patch) | |
tree | 88392de111790f9b179de08e4df9915508f44339 /tools | |
parent | f420fe35dc3a7b7b53809b615fb28379e5694c22 (diff) |
Add MCRegisterInfo to the MCInstPrinter factory function interface.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/driver/cc1as_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 94e91bddcb..49a4172c04 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -323,7 +323,7 @@ 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, *STI); + TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *MRI, *STI); MCCodeEmitter *CE = 0; MCAsmBackend *MAB = 0; if (Opts.ShowEncoding) { |