]> git.eshelyaron.com Git - emacs.git/commit
(GC_CHECK_STRING_BYTES): Temporarily define, for bug
authorGerd Moellmann <gerd@gnu.org>
Tue, 26 Sep 2000 11:12:19 +0000 (11:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 26 Sep 2000 11:12:19 +0000 (11:12 +0000)
commit31d929e56d19e9f6610a69b921742ef570a3ce95
tree1b00ce6c20906669a24ea11e7966412226643373
parentcd3b81be39042964eca4f36f334ab28168f1588e
(GC_CHECK_STRING_BYTES): Temporarily define, for bug
hunting.
(struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's
size in the sdata structure.
(SDATA_NBYTES, SDATA_DATA): New macros.
(SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define
differently for the different layout of the sdata structure.
(allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size
in sdata.
(sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]:
Check that size recorded in the string size and size recorded in
the sdata structure agree.
src/ChangeLog
src/alloc.c