From 0ede0986b95f70e70342dde36c586940926b2401 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 2 Oct 2012 16:41:12 +0000 Subject: [PATCH] No need to call the InitializeAll* functions. llvm-svn: 165025 --- clang/lib/Sema/SemaStmtAsm.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp index af59e34..81ae7e7 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(); -- 2.7.4