diff options
author | Anders Carlsson <andersca@mac.com> | 2010-01-30 20:05:21 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-01-30 20:05:21 +0000 |
commit | 087bc13d968919ab08e25b80447b7d8b528dea08 (patch) | |
tree | 461c5b0c578255c01c188879a995787c1cb1007b /clang/lib/CodeGen/CGStmt.cpp | |
parent | 31a68e70a5fe63094bccea4c33de86ff883ac0ea (diff) | |
download | bcm5719-llvm-087bc13d968919ab08e25b80447b7d8b528dea08.tar.gz bcm5719-llvm-087bc13d968919ab08e25b80447b7d8b528dea08.zip |
More asm cleanup.
llvm-svn: 94920
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 12cf9637550..7ea8b08c238 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -916,18 +916,18 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { for (unsigned i = 0, e = S.getNumOutputs(); i != e; i++) { TargetInfo::ConstraintInfo Info(S.getOutputConstraint(i), S.getOutputName(i)); - bool result = Target.validateOutputConstraint(Info); - assert(result && "Failed to parse output constraint"); result=result; + assert(Target.validateOutputConstraint(Info) && + "Failed to parse output constraint"); OutputConstraintInfos.push_back(Info); } for (unsigned i = 0, e = S.getNumInputs(); i != e; i++) { TargetInfo::ConstraintInfo Info(S.getInputConstraint(i), S.getInputName(i)); - bool result = Target.validateInputConstraint(OutputConstraintInfos.data(), - S.getNumOutputs(), - Info); result=result; - assert(result && "Failed to parse input constraint"); + assert(Target.validateInputConstraint(OutputConstraintInfos.data(), + S.getNumOutputs(), + Info) && + "Failed to parse input constraint"); InputConstraintInfos.push_back(Info); } |