summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-30 23:40:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-31 00:05:56 -0700
commit7e2f6f8448f9d98e90e0343e2aeba22a7985480f (patch)
tree09208ce118690c350559d72a313bd5dd30e00870 /lisp/emacs-lisp
parentcf95bb0213908a4caab65dccfa67b4f1572babe2 (diff)
downloademacs-7e2f6f8448f9d98e90e0343e2aeba22a7985480f.tar.gz
emacs-7e2f6f8448f9d98e90e0343e2aeba22a7985480f.tar.bz2
emacs-7e2f6f8448f9d98e90e0343e2aeba22a7985480f.zip
Remove mark_maybe_object
* src/alloc.c (mark_maybe_object, mark_maybe_objects): Remove. (mark_objects): New function. * src/eval.c (mark_specpdl): Use mark_objects instead of mark_maybe_objects, since the array now has only valid Lisp objects. * src/lisp.h (SAFE_ALLOCA_LISP_EXTRA): When allocating a large array, clear it so that it contains only valid Lisp objects. This is simpler and safer, and does not hurt performance significantly on my usual benchmark as the code is executed so rarely.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions