Cleanup string bytes checking.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 30 Jul 2012 04:02:39 +0000 (08:02 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 30 Jul 2012 04:02:39 +0000 (08:02 +0400)
commite499d0eebc7d8c12b42b2aa5392ce747ca3619ea
treeaaedb6d85d477502989012658beda610adcdcc9a
parentd2bd74ff3e3f88027c4a7de0dcdb7dfb3e12716e
Cleanup string bytes checking.
* alloc.c (GC_STRING_BYTES, CHECK_STRING_BYTES): Remove.  Convert
all users to STRING_BYTES or string_bytes if GC_CHECK_STRING_BYTES.
(check_string_bytes): Define to empty if not GC_CHECK_STRING_BYTES.
(check_sblock, compact_small_strings): Simplify.
src/ChangeLog
src/alloc.c