* alloc.c (mark_memory): Conditionalize recent fix on USE_USB_TAG.
This commit is contained in:
parent
ea8fb88d46
commit
a9a769fba6
1 changed files with 2 additions and 0 deletions
|
@ -4312,12 +4312,14 @@ mark_memory (void *start, void *end)
|
|||
void *w = *(void **) ((char *) pp + i);
|
||||
mark_maybe_pointer (w);
|
||||
|
||||
#ifdef USE_LSB_TAG
|
||||
/* A host where a Lisp_Object is wider than a pointer might
|
||||
allocate a Lisp_Object in non-adjacent halves. If
|
||||
USE_LSB_TAG, the bottom half is not a valid pointer, so
|
||||
widen it to to a Lisp_Object and check it that way. */
|
||||
if (sizeof w < sizeof (Lisp_Object))
|
||||
mark_maybe_object (widen_to_Lisp_Object (w));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue