From be76fecc24a410f26ac33fb363cfb90a1ace6fca Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 15 Jan 2016 12:26:36 +0300 Subject: [PATCH] Remove redundant comments in GC_obj_kinds * mark.c (GC_obj_kinds): Remove comments duplicating code. --- mark.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mark.c b/mark.c index fb4740a0..deac1b95 100644 --- a/mark.c +++ b/mark.c @@ -47,25 +47,23 @@ GC_INNER unsigned GC_n_mark_procs = GC_RESERVED_MARK_PROCS; /* GC_init is called. */ /* It's done here, since we need to deal with mark descriptors. */ GC_INNER struct obj_kind GC_obj_kinds[MAXOBJKINDS] = { -/* PTRFREE */ { &GC_freelists[PTRFREE][0], 0 /* filled in dynamically */, + { &GC_freelists[PTRFREE][0], 0 /* filled in dynamically */, 0 | GC_DS_LENGTH, FALSE, FALSE /*, */ OK_DISCLAIM_INITZ }, -/* NORMAL */ { &GC_freelists[NORMAL][0], 0, + { &GC_freelists[NORMAL][0], 0, 0 | GC_DS_LENGTH, /* Adjusted in GC_init for EXTRA_BYTES */ TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, -/* UNCOLLECTABLE */ { &GC_freelists[UNCOLLECTABLE][0], 0, 0 | GC_DS_LENGTH, TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, # ifdef GC_ATOMIC_UNCOLLECTABLE - /* AUNCOLLECTABLE */ { &GC_freelists[AUNCOLLECTABLE][0], 0, 0 | GC_DS_LENGTH, FALSE /* add length to descr */, FALSE /*, */ OK_DISCLAIM_INITZ }, # endif # ifdef STUBBORN_ALLOC -/*STUBBORN*/ { (void **)&GC_freelists[STUBBORN][0], 0, + { (void **)&GC_freelists[STUBBORN][0], 0, 0 | GC_DS_LENGTH, TRUE /* add length to descr */, TRUE /*, */ OK_DISCLAIM_INITZ }, # endif -- 2.40.0