aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2019-03-02 23:02:01 -0800
committerPaul Eggert2019-03-02 23:02:22 -0800
commit8a64107f7de6db557a2c43147369c6a93adf6668 (patch)
tree17fbcd887c921fe8134575939fd9ad290278476a /src
parent5e841bc9e5ff878b3dce36a712386ed6f53b6e60 (diff)
downloademacs-8a64107f7de6db557a2c43147369c6a93adf6668.tar.gz
emacs-8a64107f7de6db557a2c43147369c6a93adf6668.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c10
1 files changed, 5 insertions, 5 deletions
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;
231 231
232byte_ct gc_relative_threshold; 232byte_ct gc_relative_threshold;
233 233
234/* Minimum number of bytes of consing since GC before next GC,
235 when memory is full. */
236
237byte_ct const memory_full_cons_threshold = sizeof (struct cons_block);
238
239#ifdef HAVE_PDUMPER 234#ifdef HAVE_PDUMPER
240/* Number of finalizers run: used to loop over GC until we stop 235/* Number of finalizers run: used to loop over GC until we stop
241 generating garbage. */ 236 generating garbage. */
@@ -2754,6 +2749,11 @@ struct cons_block
2754#define XUNMARK_CONS(fptr) \ 2749#define XUNMARK_CONS(fptr) \
2755 UNSETMARKBIT (CONS_BLOCK (fptr), CONS_INDEX ((fptr))) 2750 UNSETMARKBIT (CONS_BLOCK (fptr), CONS_INDEX ((fptr)))
2756 2751
2752/* Minimum number of bytes of consing since GC before next GC,
2753 when memory is full. */
2754
2755byte_ct const memory_full_cons_threshold = sizeof (struct cons_block);
2756
2757/* Current cons_block. */ 2757/* Current cons_block. */
2758 2758
2759static struct cons_block *cons_block; 2759static struct cons_block *cons_block;