summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver/cc1as_main.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2011-09-07 17:25:30 +0000
committerJames Molloy <james.molloy@arm.com>2011-09-07 17:25:30 +0000
commit98f3e18f254995f7a5888405edcb10befe07cd99 (patch)
treeaa66b571fd52e7c9f12480345fa13af333977b4c /clang/tools/driver/cc1as_main.cpp
parent4c493e8050c31de9fbfb9899ed59023336168347 (diff)
downloadbcm5719-llvm-98f3e18f254995f7a5888405edcb10befe07cd99.tar.gz
bcm5719-llvm-98f3e18f254995f7a5888405edcb10befe07cd99.zip
Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see LLVM r139237)
llvm-svn: 139238
Diffstat (limited to 'clang/tools/driver/cc1as_main.cpp')
-rw-r--r--clang/tools/driver/cc1as_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/driver/cc1as_main.cpp b/clang/tools/driver/cc1as_main.cpp
index 9762bed6af3..bfc49149958 100644
--- a/clang/tools/driver/cc1as_main.cpp
+++ b/clang/tools/driver/cc1as_main.cpp
@@ -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) {
OpenPOWER on IntegriCloud