qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 08a2ffe8c4711e94ecd7b44952babc28e00a960f
parent 4dccbf22f3be3b206f8d8e6690adbdd2c1a6550c
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Fri, 25 Sep 2015 12:14:50 -0400

change controversial (at best) typedef

Diffstat:
Mlisc/lisc.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisc/lisc.h b/lisc/lisc.h @@ -5,7 +5,7 @@ #include <string.h> typedef unsigned int uint; -typedef unsigned long long ulong; +typedef unsigned long ulong; typedef struct Bits Bits; typedef struct Ref Ref; @@ -66,7 +66,7 @@ struct Bits { ulong t[BITS]; }; -#define BIT(n) (1ull << (n)) +#define BIT(n) (1ul << (n)) #define BGET(b, n) (1&((b).t[n/NBit]>>(n%NBit))) #define BSET(b, n) ((b).t[n/NBit] |= BIT(n%NBit)) #define BCLR(b, n) ((b).t[n/NBit] &= ~BIT(n%NBit))