diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-22 19:18:30 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-22 19:18:30 +0000 |
commit | 2735df2eb16acfb92b8cd24e163e3a74a7a4d950 (patch) | |
tree | fc1aa04884e6c787b5aa616af1e62324f0eb4d19 /lib/CodeGen/CGStmt.cpp | |
parent | a148fbcb5f441a089ea33067473fae5a8d5f778e (diff) |
[ms-inline asm] Start sending non-simple inline asms to the AsmParser.
The parser still can't handle all cases, so fall back to emitting a simple
MSAsmStmt if we get into trouble.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index d78908dee8..4c24d2b391 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -1687,8 +1687,6 @@ void CodeGenFunction::EmitMSAsmStmt(const MSAsmStmt &S) { if (!CGM.getCodeGenOpts().EmitMicrosoftInlineAsm) return; - assert (S.isSimple() && "CodeGen can only handle simple MSAsmStmts."); - std::vector<llvm::Value*> Args; std::vector<llvm::Type *> ArgTypes; std::string Constraints; |