diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 16 |
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. */ | ||
| 2806 | void | ||
| 2807 | check_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 | ||
| 2818 | Lisp_Object | 2806 | Lisp_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 (); |