1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00

* Fix GC mark for native compiled functions

native_intspec and native_doc fields has to be reached by the subr
cause are not anymore in the CU.
This commit is contained in:
Andrea Corallo 2020-03-09 10:45:51 +00:00
parent f21e1dfc9f
commit 2cf4b81009

View file

@ -6683,9 +6683,9 @@ mark_object (Lisp_Object arg)
{
set_vector_marked (ptr);
struct Lisp_Subr *subr = XSUBR (obj);
obj = subr->native_comp_u[0];
eassert (obj);
goto loop;
mark_object (subr->native_intspec);
mark_object (subr->native_doc);
mark_object (subr->native_comp_u[0]);
}
break;