Mercurial > hg > xemacs-beta
diff src/dumper.c @ 1676:a72f7bf813c9
[xemacs-hg @ 2003-09-11 09:11:07 by crestani]
2003-09-11 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
* alloc.c: Clean up #ifdef USE_KKCC, move stack code to better
position. Add lrecord_memory_descriptions table.
(KKCC_GC_STACK_FULL): Replace functions with macros.
(KKCC_GC_STACK_EMPTY):
(kkcc_gc_stack_push):
(kkcc_gc_stack_pop):
(kkcc_gc_stack_push_lisp_object):
(mark_object): Add #ifdef to remove unused code.
(garbage_collect_1): Remove some #ifdefs.
* dumper.c (pdump): Dump lrecord_memory_descriptions table.
* lrecord.h: Add lrecord_memory_descriptions.
author | crestani |
---|---|
date | Thu, 11 Sep 2003 09:11:08 +0000 |
parents | 88a2f43560bf |
children | a8d8f419b459 |
line wrap: on
line diff
--- a/src/dumper.c Wed Sep 10 21:54:11 2003 +0000 +++ b/src/dumper.c Thu Sep 11 09:11:08 2003 +0000 @@ -1162,8 +1162,14 @@ dump_add_opaque (&lrecord_implementations_table, lrecord_type_count * sizeof (lrecord_implementations_table[0])); +#ifdef USE_KKCC + dump_add_opaque (&lrecord_memory_descriptions, + lrecord_type_count + * sizeof (lrecord_memory_descriptions[0])); +#else /* not USE_KKCC */ dump_add_opaque (&lrecord_markers, lrecord_type_count * sizeof (lrecord_markers[0])); +#endif /* not USE_KKCC */ pdump_hash = xnew_array_and_zero (pdump_entry_list_elt *, PDUMP_HASHSIZE);