Move finalizer closure to the end of objects.
authorPetter Urkedal <paurkedal@gmail.com>
Mon, 16 Jan 2012 20:51:35 +0000 (04:51 +0800)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 18 Jan 2012 06:47:24 +0000 (14:47 +0800)
commit63fd11df9468ac94373ba74e7bd4a97b9cc4044b
tree5dc088f624b53ac2375f4b9e4a31b7c9a3d3b35c
parent293d927f27280b8e371384dd530d5df3e8536672
Move finalizer closure to the end of objects.

* fnlz_mlc.c: Move finalizer closure for finalized object kinds to the end
of objects.  This way, we don't require all interior pointers, and GC_base
returns the expected address.
* tests/disclaim_test.c: Improve test coverage.
fnlz_mlc.c
tests/disclaim_test.c