Commit 8a64107f authored by Paul Eggert's avatar Paul Eggert

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
parent 5e841bc9
Pipeline #905 passed with stage
in 48 minutes and 39 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment