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 | d997bd1422187e75ba56cbd4c0a97a31331fa0e7 (patch) | |
tree | 3aa146373739b2890bfd00a8600f3d7e544f969f /clang/lib/CodeGen/CGStmt.cpp | |
parent | cf172e5e288a93130d8fe8ec43dc8ef51ab48e8b (diff) | |
download | bcm5719-llvm-d997bd1422187e75ba56cbd4c0a97a31331fa0e7.tar.gz bcm5719-llvm-d997bd1422187e75ba56cbd4c0a97a31331fa0e7.zip |
[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.
llvm-svn: 162382
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index d78908dee87..4c24d2b391d 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/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; |