]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Tighten MOV's sanity checking slightly
authorNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Apr 2004 09:21:25 +0000 (09:21 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Apr 2004 09:21:25 +0000 (09:21 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2388

coregrind/vg_translate.c

index 31e57e2eac89d5403cd410ac1a35046c1feb241d..f5a778e1af4e2e1a2e6f45edbc9e1fcf1c273ddc 100644 (file)
@@ -415,7 +415,7 @@ Bool VG_(saneUInstr) ( Bool beforeRA, Bool beforeLiveness, UInstr* u )
 #  define SZf  (  u->size ==  4 || u->size ==  8 || u->size ==   2     \
                || u->size == 10 || u->size == 28 || u->size == 108)
 #  define SZ4m ((u->tag1 == TempReg || u->tag1 == RealReg) \
-                      ? (u->size == 4) : True)
+                      ? (u->size == 4) : SZi)
 
 /* For these ones, two cases:
  *