diff options
| author | Andrea Corallo | 2020-03-09 10:45:51 +0000 |
|---|---|---|
| committer | Andrea Corallo | 2020-03-10 10:42:56 +0000 |
| commit | 2cf4b81009eeedd1b441af093c0ca147d0d9bbb9 (patch) | |
| tree | 9fc7e1ca3010f19ecbf6dda1441c5917164965c4 /src/alloc.c | |
| parent | f21e1dfc9f9addf66e6913cd30fbd7f922510ede (diff) | |
| download | emacs-2cf4b81009eeedd1b441af093c0ca147d0d9bbb9.tar.gz emacs-2cf4b81009eeedd1b441af093c0ca147d0d9bbb9.zip | |
* 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.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 9a01edca3f8..ac173077132 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6683,9 +6683,9 @@ mark_object (Lisp_Object arg) | |||
| 6683 | { | 6683 | { |
| 6684 | set_vector_marked (ptr); | 6684 | set_vector_marked (ptr); |
| 6685 | struct Lisp_Subr *subr = XSUBR (obj); | 6685 | struct Lisp_Subr *subr = XSUBR (obj); |
| 6686 | obj = subr->native_comp_u[0]; | 6686 | mark_object (subr->native_intspec); |
| 6687 | eassert (obj); | 6687 | mark_object (subr->native_doc); |
| 6688 | goto loop; | 6688 | mark_object (subr->native_comp_u[0]); |
| 6689 | } | 6689 | } |
| 6690 | break; | 6690 | break; |
| 6691 | 6691 | ||