[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109420: Improve fix for macroexp
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109420: Improve fix for macroexp crash with debugging. |
Date: |
Fri, 03 Aug 2012 19:32:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Could you add a comment explaining why&how these functions can be
triggered during GC.
Stefan
> set_hash_key (struct Lisp_Hash_Table *h, ptrdiff_t idx, Lisp_Object val)
> {
> - ASET (h->key_and_value, 2 * idx, val);
> + gc_aset (h->key_and_value, 2 * idx, val);
> }
> LISP_INLINE void
> set_hash_value (struct Lisp_Hash_Table *h, ptrdiff_t idx, Lisp_Object val)
> {
> - ASET (h->key_and_value, 2 * idx + 1, val);
> + gc_aset (h->key_and_value, 2 * idx + 1, val);
> }
> LISP_INLINE void
> set_hash_next (struct Lisp_Hash_Table *h, ptrdiff_t idx, Lisp_Object val)
> {
> - ASET (h->next, idx, val);
> + gc_aset (h->next, idx, val);
> }
> LISP_INLINE void
> set_hash_hash (struct Lisp_Hash_Table *h, ptrdiff_t idx, Lisp_Object val)
> {
> - ASET (h->hash, idx, val);
> + gc_aset (h->hash, idx, val);
> }
> LISP_INLINE void
> set_hash_index (struct Lisp_Hash_Table *h, ptrdiff_t idx, Lisp_Object val)
> {
> - ASET (h->index, idx, val);
> + gc_aset (h->index, idx, val);
> }
> /* Defined in data.c. */
> _______________________________________________
> Emacs-diffs mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/emacs-diffs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109420: Improve fix for macroexp crash with debugging.,
Stefan Monnier <=