From: Julian Seward Date: Sun, 20 Jan 2013 11:39:52 +0000 (+0000) Subject: Fold out an expression which is always False. Spotted by Florian using Coverity. X-Git-Tag: svn/VALGRIND_3_9_0^2~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0111352c6da322349e08f66efebc8002631f66a;p=thirdparty%2Fvalgrind.git Fold out an expression which is always False. Spotted by Florian using Coverity. git-svn-id: svn://svn.valgrind.org/vex/trunk@2647 --- diff --git a/VEX/priv/guest_amd64_toIR.c b/VEX/priv/guest_amd64_toIR.c index 7a2daa7e11..c3bc04e5b8 100644 --- a/VEX/priv/guest_amd64_toIR.c +++ b/VEX/priv/guest_amd64_toIR.c @@ -1187,7 +1187,7 @@ static IRExpr* getIRegRexB ( Int sz, Prefix pfx, UInt lo3bits ) return unop(Iop_64to32, IRExpr_Get( offsetIReg( sz, lo3bits | (getRexB(pfx) << 3), - toBool(sz==1 && !haveREX(pfx)) ), + False/*!irregular*/ ), szToITy(sz) ) );