aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/cc1as_main.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-19 06:37:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-19 06:37:41 +0000
commit2860e30d837ac361c126d4350b5d74f956160eba (patch)
tree855f56a13c9164c14ef79fd14d72d1a01fd5c105 /tools/driver/cc1as_main.cpp
parentcb2a07e33789df99d28c3b9cd0770b4e3a8f31b5 (diff)
Match createTargetMachine API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/cc1as_main.cpp')
-rw-r--r--tools/driver/cc1as_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp
index bfe2301b61..b0177c7029 100644
--- a/tools/driver/cc1as_main.cpp
+++ b/tools/driver/cc1as_main.cpp
@@ -361,6 +361,7 @@ int cc1as_main(const char **ArgBegin, const char **ArgEnd,
// FIXME: We shouldn't need to initialize the Target(Machine)s.
InitializeAllTargets();
InitializeAllMCAsmInfos();
+ InitializeAllMCCodeGenInfos();
InitializeAllMCInstrInfos();
InitializeAllMCRegisterInfos();
InitializeAllMCSubtargetInfos();