From: Paul Eggert Date: Sun, 3 Mar 2019 07:02:01 +0000 (-0800) Subject: Fix typo in previous change X-Git-Tag: emacs-27.0.90~3496 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a64107f7de6db557a2c43147369c6a93adf6668;p=emacs.git Fix typo in previous change * src/alloc.c (memory_full_cons_threshold): Move to after definition of struct cons_block. Problem reported by Basil L. Contovounesios in: https://lists.gnu.org/r/emacs-devel/2019-03/msg00067.html --- diff --git a/src/alloc.c b/src/alloc.c index 9b3dc4be993..6b366485550 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -231,11 +231,6 @@ byte_ct consing_since_gc; byte_ct gc_relative_threshold; -/* Minimum number of bytes of consing since GC before next GC, - when memory is full. */ - -byte_ct const memory_full_cons_threshold = sizeof (struct cons_block); - #ifdef HAVE_PDUMPER /* Number of finalizers run: used to loop over GC until we stop generating garbage. */ @@ -2754,6 +2749,11 @@ struct cons_block #define XUNMARK_CONS(fptr) \ UNSETMARKBIT (CONS_BLOCK (fptr), CONS_INDEX ((fptr))) +/* Minimum number of bytes of consing since GC before next GC, + when memory is full. */ + +byte_ct const memory_full_cons_threshold = sizeof (struct cons_block); + /* Current cons_block. */ static struct cons_block *cons_block;