aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/m/iris4d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index aa07524cb07..bfbe6a2f131 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -174,6 +174,7 @@ Boston, MA 02111-1307, USA. */
174#undef STACK_DIRECTION 174#undef STACK_DIRECTION
175#define STACK_DIRECTION -1 175#define STACK_DIRECTION -1
176 176
177#ifndef _LP64
177/* The standard definitions of these macros would work ok, 178/* The standard definitions of these macros would work ok,
178 but these are faster because the constants are short. */ 179 but these are faster because the constants are short. */
179 180
@@ -182,9 +183,8 @@ Boston, MA 02111-1307, USA. */
182#define XSET(var, type, ptr) \ 183#define XSET(var, type, ptr) \
183 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) 184 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
184 185
185#define XMARKBIT(a) ((a) < 0)
186#define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0))
187#define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) 186#define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
187#endif /* _LP64 */
188 188
189#ifndef __GNUC__ 189#ifndef __GNUC__
190/* Turn off some "helpful" error checks for type mismatches 190/* Turn off some "helpful" error checks for type mismatches