diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-05-16 20:46:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-05-16 20:48:18 +0300 |
commit | 0b35c12b3fc83374e8a5f17d829d878797aa241a (patch) | |
tree | b70ad82ccdbe9aa18dfa000f964adcc158a5ab05 /sparc_mach_dep.S | |
parent | a06340cc0b9d2bc3b28ba95c3503fba9e1fbf4f2 (diff) | |
download | bdwgc-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 'sparc_mach_dep.S')
0 files changed, 0 insertions, 0 deletions