summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-22 19:18:30 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-22 19:18:30 +0000
commitd997bd1422187e75ba56cbd4c0a97a31331fa0e7 (patch)
tree3aa146373739b2890bfd00a8600f3d7e544f969f /clang/lib/CodeGen/CGStmt.cpp
parentcf172e5e288a93130d8fe8ec43dc8ef51ab48e8b (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud