aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2019-04-21 21:47:10 -0700
committerPaul Eggert2019-04-21 23:16:48 -0700
commit72067661fef9cb9e1a746a7a825053c8204c7a38 (patch)
treeb11be11ad0e3fddb4f3498f7d9d293125f94f348 /src/alloc.c
parent418400ab7b36d873905f5ab5e1e07f2bdbd05f9c (diff)
downloademacs-72067661fef9cb9e1a746a7a825053c8204c7a38.tar.gz
emacs-72067661fef9cb9e1a746a7a825053c8204c7a38.zip
Remove --enablechecking=conslist configure option
* configure.ac: Remove the option. * configure.ac (ac_gc_check_cons_list, GC_CHECK_CONS_LIST): * src/alloc.c (check_cons_list) [GC_CHECK_CONS_LIST]: * src/lisp.h (lisp_h_check_cons_list, check_cons_list): Remove. All uses removed. * etc/NEWS: Mention this.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 186a4c6a098..d279b6f872e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2801,18 +2801,6 @@ DEFUN ("cons", Fcons, Scons, 2, 2, 0,
2801 return val; 2801 return val;
2802} 2802}
2803 2803
2804#ifdef GC_CHECK_CONS_LIST
2805/* Get an error now if there's any junk in the cons free list. */
2806void
2807check_cons_list (void)
2808{
2809 struct Lisp_Cons *tail = cons_free_list;
2810
2811 while (tail)
2812 tail = tail->u.s.u.chain;
2813}
2814#endif
2815
2816/* Make a list of 1, 2, 3, 4 or 5 specified objects. */ 2804/* Make a list of 1, 2, 3, 4 or 5 specified objects. */
2817 2805
2818Lisp_Object 2806Lisp_Object
@@ -6003,8 +5991,6 @@ garbage_collect_1 (struct gcstat *gcst)
6003 /* Record this function, so it appears on the profiler's backtraces. */ 5991 /* Record this function, so it appears on the profiler's backtraces. */
6004 record_in_backtrace (QAutomatic_GC, 0, 0); 5992 record_in_backtrace (QAutomatic_GC, 0, 0);
6005 5993
6006 check_cons_list ();
6007
6008 /* Don't keep undo information around forever. 5994 /* Don't keep undo information around forever.
6009 Do this early on, so it is no problem if the user quits. */ 5995 Do this early on, so it is no problem if the user quits. */
6010 FOR_EACH_BUFFER (nextb) 5996 FOR_EACH_BUFFER (nextb)
@@ -6124,8 +6110,6 @@ garbage_collect_1 (struct gcstat *gcst)
6124 6110
6125 unmark_main_thread (); 6111 unmark_main_thread ();
6126 6112
6127 check_cons_list ();
6128
6129 gc_in_progress = 0; 6113 gc_in_progress = 0;
6130 6114
6131 unblock_input (); 6115 unblock_input ();