]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed stupid mistake. Fortunately the value is only used for initialisation
authorNicholas Nethercote <njn@valgrind.org>
Thu, 3 Oct 2002 08:57:01 +0000 (08:57 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 3 Oct 2002 08:57:01 +0000 (08:57 +0000)
and is then always overwritten by liveness analysis.  Still...

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1168

include/vg_skin.h

index 3b4a138dec76d5eaa1a0aa48b659c477487ec42a..8c9d077ad2b3e1c995956b92847316b48d1ffb20 100644 (file)
@@ -601,7 +601,7 @@ typedef UChar FlagSet;
 typedef UInt RRegSet;
 
 #define ALL_RREGS_DEAD      0                           /* 0000...00b */
-#define ALL_RREGS_LIVE      (1 << (VG_MAX_REALREGS-1))  /* 0011...11b */
+#define ALL_RREGS_LIVE      ((1 << VG_MAX_REALREGS)-1)  /* 0011...11b */
 #define UNIT_RREGSET(rank)  (1 << (rank))
 
 #define IS_RREG_LIVE(rank,rregs_live) (rregs_live & UNIT_RREGSET(rank))