]> git.eshelyaron.com Git - emacs.git/commit
Revert recent GC-related changes (Bug#43152)
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 Sep 2020 19:10:26 +0000 (12:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 Sep 2020 19:15:09 +0000 (12:15 -0700)
commitc47be1b8440883b07b6cf918235a13b65e3d7be6
tree8bc1f190dc4d5792d8935425693c5650f9e0253c
parentc449a00aa51185486d76ebf602d84e189af702c0
Revert recent GC-related changes (Bug#43152)

* src/alloc.c (live_string_holding, live_cons_holding)
(live_symbol_holding, live_large_vector_holding)
(live_small_vector_holding):
Go back to old approach of treating every would-be pointer to any
byte in the object (though not to just past the object end) as
addressing the object.
(live_float_p): Require that the would-be float point
to the start of the Lisp_Float, and not anywhere else.
(live_vector_pointer, live_float_holding, mark_objects):
Remove.  All uses removed.
(mark_maybe_object, mark_maybe_objects):
Bring back these functions.
* src/lisp.h (SAFE_ALLOCA_LISP_EXTRA): Do not clear the
new slots, as they're now checked via mark_maybe_objects,
not via mark_objects.
src/alloc.c
src/eval.c
src/fringe.c
src/keyboard.c
src/lisp.h