comparison src/m/sr2k.h @ 52495:7afb553c7135

(XMARKBIT, XUNMARK): Remove.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Sep 2003 19:54:10 +0000
parents 695cf19ef79e
children 23a17af379b1
comparison
equal deleted inserted replaced
52494:96d237d6be00 52495:7afb553c7135
65 65
66 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) 66 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)
67 67
68 #define XSET(var, type, ptr) \ 68 #define XSET(var, type, ptr) \
69 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) 69 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
70
71 #define XMARKBIT(a) ((a) < 0)
72
73 #if 0 /* Loses when sign bit of type field is set. */
74 #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
75 #endif
76 70
77 /* #ifdef __hpux */ 71 /* #ifdef __hpux */
78 /* Now define a symbol for the cpu type, if your compiler 72 /* Now define a symbol for the cpu type, if your compiler
79 does not define it automatically: 73 does not define it automatically:
80 Ones defined so far include vax, m68000, ns16000, pyramid, 74 Ones defined so far include vax, m68000, ns16000, pyramid,