summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mark_rts.c b/mark_rts.c
index a3fd4181..edc806a0 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -534,6 +534,11 @@ struct exclusion GC_excl_table[MAX_EXCLUSIONS];
STATIC size_t GC_excl_table_entries = 0;/* Number of entries in use. */
+GC_API void GC_CALL GC_clear_exclusion_table(void)
+{
+ GC_excl_table_entries = 0;
+}
+
/* Return the first exclusion range that includes an address >= start_addr */
/* Assumes the exclusion table contains at least one entry (namely the */
/* GC data structures). */