aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-12 18:28:53 +0000
committerChris Lattner <sabre@nondot.org>2010-03-12 18:28:53 +0000
commit6489bbbe9915d526aba2b749d601f8176b6ffff1 (patch)
treeb3ff1d71f8481e5e9be4bb872ab4df053d7ea83d /tools
parent3317849de1728ea522a06982d08099a86c24c006 (diff)
downloadexternal_llvm-6489bbbe9915d526aba2b749d601f8176b6ffff1.zip
external_llvm-6489bbbe9915d526aba2b749d601f8176b6ffff1.tar.gz
external_llvm-6489bbbe9915d526aba2b749d601f8176b6ffff1.tar.bz2
remove MAI argument from createAsmStreamer since it
can get it from the context now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index b3c442e..03953c7 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -270,8 +270,7 @@ static int AssembleInput(const char *ProgName) {
IP.reset(TheTarget->createMCInstPrinter(OutputAsmVariant, *MAI, *Out));
if (ShowEncoding)
CE.reset(TheTarget->createCodeEmitter(*TM, Ctx));
- Str.reset(createAsmStreamer(Ctx, *Out, *MAI,
- TM->getTargetData()->isLittleEndian(),
+ Str.reset(createAsmStreamer(Ctx, *Out,TM->getTargetData()->isLittleEndian(),
/*asmverbose*/true, IP.get(), CE.get(),
ShowInst));
} else {