aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCDisassembler
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-25 21:20:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-25 21:20:24 +0000
commit4b64e8a9e13ba782da2034e1dee52f077bdb759c (patch)
treed634b1311e0c847d61245cfb05e25c50ec334090 /lib/MC/MCDisassembler
parentfd47a5966141e32db461a9a96597920d5fd46498 (diff)
Separate MCInstPrinter registration from AsmPrinter registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDisassembler')
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp1
-rw-r--r--lib/MC/MCDisassembler/EDDisassembler.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/MC/MCDisassembler/Disassembler.cpp b/lib/MC/MCDisassembler/Disassembler.cpp
index dd20f63193..ab0b02fc55 100644
--- a/lib/MC/MCDisassembler/Disassembler.cpp
+++ b/lib/MC/MCDisassembler/Disassembler.cpp
@@ -38,7 +38,6 @@ LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
// Initialize targets and assembly printers/parsers.
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
- llvm::InitializeAllAsmPrinters();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
diff --git a/lib/MC/MCDisassembler/EDDisassembler.cpp b/lib/MC/MCDisassembler/EDDisassembler.cpp
index c75e274f92..4d18fb3dd5 100644
--- a/lib/MC/MCDisassembler/EDDisassembler.cpp
+++ b/lib/MC/MCDisassembler/EDDisassembler.cpp
@@ -106,7 +106,6 @@ void EDDisassembler::initialize() {
InitializeAllTargetInfos();
InitializeAllTargetMCs();
- InitializeAllAsmPrinters();
InitializeAllAsmParsers();
InitializeAllDisassemblers();
}