projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18fc445
)
No need to call the InitializeAll* functions.
author
Chad Rosier
<mcrosier@apple.com>
Tue, 2 Oct 2012 16:41:12 +0000
(16:41 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Tue, 2 Oct 2012 16:41:12 +0000
(16:41 +0000)
llvm-svn: 165025
clang/lib/Sema/SemaStmtAsm.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaStmtAsm.cpp
b/clang/lib/Sema/SemaStmtAsm.cpp
index
af59e34
..
81ae7e7
100644
(file)
--- 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();