Commit 7e7d62ea authored by Philipp Stephani's avatar Philipp Stephani

Remove special-casing of tagged pointers.

This partially reverts commit
09b2b8a5.

* src/alloc.c (mark_maybe_pointer): Remove special-casing of tagged
pointers.  After commit 09d746da,
modules no longer rely on tagged pointers.
parent ba2e3a8a
......@@ -4863,17 +4863,8 @@ mark_maybe_pointer (void *p)
VALGRIND_MAKE_MEM_DEFINED (&p, sizeof (p));
#endif
if (sizeof (Lisp_Object) == sizeof (void *) || !HAVE_MODULES)
{
if (!maybe_lisp_pointer (p))
return;
}
else
{
/* For the wide-int case, also mark emacs_value tagged pointers,
which can be generated by emacs-module.c's value_to_lisp. */
p = (void *) ((uintptr_t) p & ~((1 << GCTYPEBITS) - 1));
}
if (!maybe_lisp_pointer (p))
return;
if (pdumper_object_p (p))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment