summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@gmail.com>2010-11-08 02:21:17 +0000
committerChe-Liang Chiou <clchiou@gmail.com>2010-11-08 02:21:17 +0000
commit6da24ca51d0a0483b4ff1537a177bd172997f129 (patch)
treef15c39cfc64529d539480a4474902e6de8354fa9 /lib
parent5991487c10faa5f1c0cc815381d745150582a309 (diff)
downloadllvm-6da24ca51d0a0483b4ff1537a177bd172997f129.tar.gz
Add registry hook for assembly text output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp
index 60aa1e5c984f..3ba1b89a8021 100644
--- a/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -144,10 +144,11 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
if (ShowMCEncoding)
MCE = getTarget().createCodeEmitter(*this, *Context);
- AsmStreamer.reset(createAsmStreamer(*Context, Out,
- getTargetData()->isLittleEndian(),
- getVerboseAsm(), InstPrinter,
- MCE, ShowMCInst));
+ AsmStreamer.reset(getTarget().createAsmStreamer(*Context, Out,
+ getTargetData()->isLittleEndian(),
+ getVerboseAsm(),
+ InstPrinter, MCE,
+ ShowMCInst));
break;
}
case CGFT_ObjectFile: {