summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-24 17:55:53 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-24 17:55:53 +0000
commit18d0635339ea103f9b307d16b8b63101d1ede752 (patch)
tree8618b708325dbccd10b7e703f13b5da5f026a86c /llvm/tools/opt
parent360d3a5b06091126ec75ae946b790d8c1197e762 (diff)
downloadbcm5719-llvm-18d0635339ea103f9b307d16b8b63101d1ede752.tar.gz
bcm5719-llvm-18d0635339ea103f9b307d16b8b63101d1ede752.zip
Opt does not need to initialize the Asm printer/parser
llvm-svn: 166602
Diffstat (limited to 'llvm/tools/opt')
-rw-r--r--llvm/tools/opt/opt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index c78f97fa607..bac0d469479 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -567,8 +567,6 @@ int main(int argc, char **argv) {
InitializeAllTargets();
InitializeAllTargetMCs();
- InitializeAllAsmPrinters();
- InitializeAllAsmParsers();
// Initialize passes
PassRegistry &Registry = *PassRegistry::getPassRegistry();
OpenPOWER on IntegriCloud