emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8a64107: Fix typo in previous change


From: Paul Eggert
Subject: [Emacs-diffs] master 8a64107: Fix typo in previous change
Date: Sun, 3 Mar 2019 02:02:28 -0500 (EST)

branch: master
commit 8a64107f7de6db557a2c43147369c6a93adf6668
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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
---
 src/alloc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/alloc.c b/src/alloc.c
index 9b3dc4b..6b36648 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]