diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-02 16:41:12 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-02 16:41:12 +0000 |
commit | 0ede0986b95f70e70342dde36c586940926b2401 (patch) | |
tree | d747c8a53503b8a596bc354e5ab4c2727067d7dd | |
parent | 18fc445af5db1ff2dc63cdc3427c15a2bae91898 (diff) | |
download | bcm5719-llvm-0ede0986b95f70e70342dde36c586940926b2401.tar.gz bcm5719-llvm-0ede0986b95f70e70342dde36c586940926b2401.zip |
No need to call the InitializeAll* functions.
llvm-svn: 165025
-rw-r--r-- | clang/lib/Sema/SemaStmtAsm.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp index af59e34c853..81ae7e70e46 100644 --- a/clang/lib/Sema/SemaStmtAsm.cpp +++ b/clang/lib/Sema/SemaStmtAsm.cpp @@ -522,11 +522,6 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, // AsmParser doesn't fully support these asm statements. if (bailOnMSAsm(Pieces)) { DEF_SIMPLE_MSASM(EmptyAsmStr); return Owned(NS); } - // Initialize targets and assembly printers/parsers. - llvm::InitializeAllTargetInfos(); - llvm::InitializeAllTargetMCs(); - llvm::InitializeAllAsmParsers(); - // Get the target specific parser. std::string Error; const std::string &TT = Context.getTargetInfo().getTriple().getTriple(); |