From: Paul Eggert Date: Mon, 31 Aug 2020 06:40:11 +0000 (-0700) Subject: Omit no-longer-needed stack mark_maybe_object X-Git-Tag: emacs-28.0.90~6308 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa1b586a1afaa88e5a9521a7640feefc2c12f009;p=emacs.git Omit no-longer-needed stack mark_maybe_object * src/alloc.c (mark_memory): Do not bother using mark_maybe_object on the stack, since mark_maybe_pointer now marks everything that mark_maybe_object would. --- diff --git a/src/alloc.c b/src/alloc.c index 78e0b5f60cc..e057107f98c 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4868,11 +4868,6 @@ mark_memory (void const *start, void const *end) intptr_t ip; INT_ADD_WRAPV ((intptr_t) p, (intptr_t) lispsym, &ip); mark_maybe_pointer ((void *) ip); - - verify (alignof (Lisp_Object) % GC_POINTER_ALIGNMENT == 0); - if (alignof (Lisp_Object) == GC_POINTER_ALIGNMENT - || (uintptr_t) pp % alignof (Lisp_Object) == 0) - mark_maybe_object (*(Lisp_Object const *) pp); } }