summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-12 00:31:50 +0000
committerChris Lattner <sabre@nondot.org>2008-10-12 00:31:50 +0000
commit5d3e26a4f68c38fd98014a5344e6bb4095c38eac (patch)
treebad4c5727bf07cc1593445fc4739ab7349b853e0 /clang/lib/CodeGen/CGStmt.cpp
parent79ef843533461c88d5ca34755c3a87f7c47b8a2f (diff)
downloadbcm5719-llvm-5d3e26a4f68c38fd98014a5344e6bb4095c38eac.tar.gz
bcm5719-llvm-5d3e26a4f68c38fd98014a5344e6bb4095c38eac.zip
silence release-assert warnings.
llvm-svn: 57392
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index 024fb0a6599..fed0eee7f0f 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -761,7 +761,7 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
TargetInfo::ConstraintInfo Info;
bool result = Target.validateOutputConstraint(OutputConstraint.c_str(),
Info);
- assert(result && "Failed to parse output constraint");
+ assert(result && "Failed to parse output constraint"); result=result;
// Simplify the output constraint.
OutputConstraint = SimplifyConstraint(OutputConstraint.c_str() + 1, Target);
@@ -821,9 +821,8 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
TargetInfo::ConstraintInfo Info;
bool result = Target.validateInputConstraint(InputConstraint.c_str(),
- NumConstraints,
- Info);
- assert(result && "Failed to parse input constraint");
+ NumConstraints, Info);
+ assert(result && "Failed to parse input constraint"); result=result;
if (i != 0 || S.getNumOutputs() > 0)
Constraints += ',';
OpenPOWER on IntegriCloud