summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-02-25 17:09:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-02-25 17:09:59 -0800
commita9a769fba6dd1f3db1777c48b81f6d50627d5001 (patch)
tree41e0b89b6fc2ebbb7ad20ee945fa0e809ab0cc89
parentea8fb88d46c612939011aad40dd131e1f9659c91 (diff)
downloademacs-a9a769fba6dd1f3db1777c48b81f6d50627d5001.tar.gz
* alloc.c (mark_memory): Conditionalize recent fix on USE_USB_TAG.
-rw-r--r--src/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 21c4db4ddca..a3e8033db18 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -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
}
}