aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-25 20:53:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-25 20:53:26 +0000
commit75d8c91a5c44319af9b86dfd3e2bc2376edb8ba4 (patch)
tree059a99b3d8e4db92ac13584874e442e37f4ddee6
parente7b2b6e87dbe5b1207f77b6ff9c210a02f95bb39 (diff)
Assembler doesn't need to initialize TargetMachine's anymore.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135964 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/driver/cc1as_main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp
index c7b5d703a9..9776614356 100644
--- a/tools/driver/cc1as_main.cpp
+++ b/tools/driver/cc1as_main.cpp
@@ -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();