[cfe-commits] r135964 - /cfe/trunk/tools/driver/cc1as_main.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jul 25 13:53:27 PDT 2011
Author: evancheng
Date: Mon Jul 25 15:53:26 2011
New Revision: 135964
URL: http://llvm.org/viewvc/llvm-project?rev=135964&view=rev
Log:
Assembler doesn't need to initialize TargetMachine's anymore.
Modified:
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=135964&r1=135963&r2=135964&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Mon Jul 25 15:53:26 2011
@@ -363,8 +363,6 @@
// Initialize targets and assembly printers/parsers.
InitializeAllTargetInfos();
- // FIXME: We shouldn't need to initialize the Target(Machine)s.
- InitializeAllTargets();
InitializeAllTargetMCs();
InitializeAllAsmPrinters();
InitializeAllAsmParsers();
More information about the cfe-commits
mailing list