summaryrefslogtreecommitdiff
path: root/specific.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-05-16 20:46:32 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-05-16 20:48:18 +0300
commit0b35c12b3fc83374e8a5f17d829d878797aa241a (patch)
treeb70ad82ccdbe9aa18dfa000f964adcc158a5ab05 /specific.c
parenta06340cc0b9d2bc3b28ba95c3503fba9e1fbf4f2 (diff)
downloadbdwgc-0b35c12b3fc83374e8a5f17d829d878797aa241a.tar.gz
Allow GC_push_roots to work even when no exclusions registered
Also, includes minor code refactoring and reformatting of GC_exclude_static_roots_inner and GC_push_conditional_with_exclusions. * mark_rts.c (GC_next_exclusion): Update comment; return NULL if GC_excl_table_entries is zero (instead of assertion violation). * mark_rts.c (GC_exclude_static_roots_inner): Call GC_next_exclusion() unconditionally. * mark_rts.c (GC_push_conditional_with_exclusions): Refactor code to have GC_PUSH_CONDITIONAL() call in a single place.
Diffstat (limited to 'specific.c')
0 files changed, 0 insertions, 0 deletions