[llvm-commits] [llvm] r166602 - /llvm/trunk/tools/opt/opt.cpp

Nadav Rotem nrotem at apple.com
Wed Oct 24 10:55:53 PDT 2012


Author: nadav
Date: Wed Oct 24 12:55:53 2012
New Revision: 166602

URL: http://llvm.org/viewvc/llvm-project?rev=166602&view=rev
Log:
Opt does not need to initialize the Asm printer/parser

Modified:
    llvm/trunk/tools/opt/opt.cpp

Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=166602&r1=166601&r2=166602&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Wed Oct 24 12:55:53 2012
@@ -567,8 +567,6 @@
 
   InitializeAllTargets();
   InitializeAllTargetMCs();
-  InitializeAllAsmPrinters();
-  InitializeAllAsmParsers();
 
   // Initialize passes
   PassRegistry &Registry = *PassRegistry::getPassRegistry();





More information about the llvm-commits mailing list