X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fgc-internal.h;h=114f5142eda178b7cf64450b053749b81b37d3c6;hb=77d94d36bcfd3d5eea73ad51e6ee621a8938f995;hp=0b4bd4dd798872073fd843da582942976ccb1f32;hpb=1cfc4ee568b84b2dfa7db391b8a7c269f1bff1be;p=sbcl.git diff --git a/src/runtime/gc-internal.h b/src/runtime/gc-internal.h index 0b4bd4d..114f514 100644 --- a/src/runtime/gc-internal.h +++ b/src/runtime/gc-internal.h @@ -80,6 +80,8 @@ lispobj *search_read_only_space(void *pointer); lispobj *search_static_space(void *pointer); lispobj *search_dynamic_space(void *pointer); +#include "fixnump.h" + /* Scan an area looking for an object which encloses the given pointer. * Return the object start on success or NULL on failure. */ static lispobj * @@ -92,7 +94,7 @@ search_space(lispobj *start, size_t words, lispobj *pointer) /* If thing is an immediate then this is a cons. */ if (is_lisp_pointer(thing) || (fixnump(thing)) - || (widetag_of(thing) == BASE_CHAR_WIDETAG) + || (widetag_of(thing) == CHARACTER_WIDETAG) || (widetag_of(thing) == UNBOUND_MARKER_WIDETAG)) count = 2; else