Opt does not need to initialize the Asm printer/parser
authorNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 17:55:53 +0000 (17:55 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 17:55:53 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166602 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index c78f97fa607ee3c52676ad472da786a689c18e67..bac0d469479986e99fce797b5dfa65b3e68aa7b9 100644 (file)
@@ -567,8 +567,6 @@ int main(int argc, char **argv) {
 
   InitializeAllTargets();
   InitializeAllTargetMCs();
-  InitializeAllAsmPrinters();
-  InitializeAllAsmParsers();
 
   // Initialize passes
   PassRegistry &Registry = *PassRegistry::getPassRegistry();