X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fruntime.h;h=abf27dae1695bf9e163e42e915aa644047c15654;hb=ab5427d31da2bd95805cccc8e47b8f43d3dd606d;hp=65c2e48fe28f80c56e87c70537e761fcf4e21d61;hpb=f2942b56a5ed1b60b730b387ee2b9e40c8cc28fb;p=sbcl.git diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 65c2e48..abf27da 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -168,7 +168,11 @@ FDEFN(lispobj obj) static inline int is_lisp_pointer(lispobj obj) { +#if N_WORD_BITS == 64 + return (obj & 3) == 3; +#else return obj & 1; +#endif } #include "fixnump.h"