summaryrefslogtreecommitdiff
path: root/dbg_mlc.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-09-25 02:51:23 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:43 +0200
commit80da7344aef075777df0a780345cfb227bafd140 (patch)
tree86ce4d9a8de733e4b64ecdd03b1491a3d20dff91 /dbg_mlc.c
parentbb557ed4037d34093f0a949c57249acccf7c828a (diff)
2008-09-24 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
* win32_threads.c (GC_pthread_join, GC_pthread_start_inner): Remove unused variables. * darwin_stop_world.c: Always declare GC_thr_init(). * dbg_mlc.c (GC_debug_free_inner): Dont touch oh_sz if SHORT_DBG_HDRS is defined. * include/private/gc_pmark.h (OR_WORD_EXIT_IF_SET, parallel mark, USE_MARK_BITS version): Refer to correct parameter name.
Diffstat (limited to 'dbg_mlc.c')
-rw-r--r--dbg_mlc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbg_mlc.c b/dbg_mlc.c
index a09bd54..99b6cba 100644
--- a/dbg_mlc.c
+++ b/dbg_mlc.c
@@ -762,8 +762,10 @@ void GC_debug_free_inner(void * p)
{
ptr_t base = GC_base(p);
GC_ASSERT((ptr_t)p - (ptr_t)base == sizeof(oh));
+# ifndef SHORT_DBG_HDRS
/* Invalidate size */
((oh *)base) -> oh_sz = GC_size(base);
+# endif
GC_free_inner(base);
}
#endif