]> granicus.if.org Git - clang/commitdiff
Assembler doesn't need to initialize TargetMachine's anymore.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 25 Jul 2011 20:53:26 +0000 (20:53 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 25 Jul 2011 20:53:26 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135964 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1as_main.cpp

index c7b5d703a9ea04f8f537e9afc75a086a3e249f7d..97766143560834909516f29a25a3b626774d7418 100644 (file)
@@ -363,8 +363,6 @@ int cc1as_main(const char **ArgBegin, const char **ArgEnd,
 
   // Initialize targets and assembly printers/parsers.
   InitializeAllTargetInfos();
-  // FIXME: We shouldn't need to initialize the Target(Machine)s.
-  InitializeAllTargets();
   InitializeAllTargetMCs();
   InitializeAllAsmPrinters();
   InitializeAllAsmParsers();