summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
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
commit199063ea37d8cc651a20ab00eef4326cd9331371 (patch)
tree2f56e67b72ce6f0851f9760e28c964ba57edd01e /tools/opt/opt.cpp
parent880b90e09e2fc1b5e5a8d90af202546f584d2067 (diff)
downloadllvm-199063ea37d8cc651a20ab00eef4326cd9331371.tar.gz
llvm-199063ea37d8cc651a20ab00eef4326cd9331371.tar.bz2
llvm-199063ea37d8cc651a20ab00eef4326cd9331371.tar.xz
Opt does not need to initialize the Asm printer/parser
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index c78f97fa60..bac0d46947 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -567,8 +567,6 @@ int main(int argc, char **argv) {
InitializeAllTargets();
InitializeAllTargetMCs();
- InitializeAllAsmPrinters();
- InitializeAllAsmParsers();
// Initialize passes
PassRegistry &Registry = *PassRegistry::getPassRegistry();