From: Julian Seward Date: Mon, 13 Jun 2005 16:30:18 +0000 (+0000) Subject: Make iropt not complain about missing folding rules at the default X-Git-Tag: svn/VALGRIND_3_0_1^2~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c92c8cd61b6cd6d075d4ea9d4add0d21683661;p=thirdparty%2Fvalgrind.git Make iropt not complain about missing folding rules at the default verbosity setting (zero). git-svn-id: svn://svn.valgrind.org/vex/trunk@1208 --- diff --git a/VEX/priv/ir/iropt.c b/VEX/priv/ir/iropt.c index 6997bb13bf..d8b7c38152 100644 --- a/VEX/priv/ir/iropt.c +++ b/VEX/priv/ir/iropt.c @@ -1417,9 +1417,11 @@ static IRExpr* fold_Expr ( IRExpr* e ) ppIRExpr(e); vpanic("fold_Expr: no rule for the above"); # else - vex_printf("vex iropt: fold_Expr: no rule for: "); - ppIRExpr(e); - vex_printf("\n"); + if (vex_control.iropt_verbosity > 0) { + vex_printf("vex iropt: fold_Expr: no rule for: "); + ppIRExpr(e); + vex_printf("\n"); + } return e2; # endif }