From: Nicholas Nethercote Date: Thu, 3 Oct 2002 08:57:01 +0000 (+0000) Subject: Fixed stupid mistake. Fortunately the value is only used for initialisation X-Git-Tag: svn/VALGRIND_1_9_4~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bbf66f4e1b79ddcea9f8eef8899fc3980861ba9;p=thirdparty%2Fvalgrind.git Fixed stupid mistake. Fortunately the value is only used for initialisation and is then always overwritten by liveness analysis. Still... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1168 --- diff --git a/include/vg_skin.h b/include/vg_skin.h index 3b4a138dec..8c9d077ad2 100644 --- a/include/vg_skin.h +++ b/include/vg_skin.h @@ -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))