]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fold out an expression which is always False. Spotted by Florian using Coverity.
authorJulian Seward <jseward@acm.org>
Sun, 20 Jan 2013 11:39:52 +0000 (11:39 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 20 Jan 2013 11:39:52 +0000 (11:39 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2647

VEX/priv/guest_amd64_toIR.c

index 7a2daa7e11f3ec6e4d96b408204b393b25faddf2..c3bc04e5b8bbeef4ae1e6cd7dd62bb2fd3ae4ef7 100644 (file)
@@ -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)
                  )
              );