Add assertion ensuring proper alignment of 'pushed' GC symbols
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 17:28:07 +0000 (21:28 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 17:28:07 +0000 (21:28 +0400)
commitd692eb4322d9b4c3dac4498771fe6707ac87a353
treed65cce168944253392717cd1adf1e8872fccae65
parent9f311d48cc4aadc4cd02759f3201fc47f38da19e
Add assertion ensuring proper alignment of 'pushed' GC symbols

* finalize.c (GC_push_finalizer_structures): Assert word alignment of
dl_head, fo_head, GC_finalize_now.
* pthread_support.c (GC_thr_init): Assert word alignment of GC_threads
(passed to GC_push_all).
* win32_threads.c (GC_thr_init): Likewise.
* thread_local_alloc.c (GC_init_thread_local): Assert word alignment
of GC_thread_key.
* typd_mlc.c (GC_add_ext_descriptor): Assert word alignment of
GC_ext_descriptors.
finalize.c
pthread_support.c
thread_local_alloc.c
typd_mlc.c
win32_threads.c