summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-12-26 16:50:53 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:55 +0200
commit1c76fc46d5d0894a34a8c31dced57087cca90611 (patch)
tree3c3a36650d8c2293e5f326ecf2f5efa53edb667d /mark_rts.c
parent7b66e36f08dd096bc6df1ebc362d2689264f7825 (diff)
2010-12-26 Ivan Maidanski <ivmai@mail.ru>
* alloc.c (GC_collect_or_expand): Replace NIL with NULL in message. * dbg_mlc.c (GC_debug_malloc, GC_debug_malloc_ignore_off_page, GC_debug_malloc_atomic_ignore_off_page, GC_debug_generic_malloc_inner, GC_generic_malloc_inner_ignore_off_page, GC_debug_malloc_stubborn, GC_debug_malloc_atomic, GC_debug_malloc_uncollectable, GC_debug_malloc_atomic_uncollectable): Ditto. * gcj_mlc.c (GC_debug_gcj_malloc): Ditto. * dbg_mlc.c (GC_check_annotated_obj): Replace NIL with NULL in a comment. * dyn_load.c (GC_FirstDLOpenedLinkMap): Ditto. * mark_rts.c (GC_roots_present): Ditto. * doc/README: Ditto. * include/private/gc_hdrs.h (IS_FORWARDING_ADDR_OR_NIL): Ditto. * include/private/gc_priv.h (_GC_arrays): Ditto.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mark_rts.c b/mark_rts.c
index c47e17a..d808e8e 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -109,8 +109,8 @@ static int n_root_sets = 0;
return(result);
}
- /* Is a range starting at b already in the table? If so return a */
- /* pointer to it, else NIL. */
+ /* Is a range starting at b already in the table? If so return a */
+ /* pointer to it, else NULL. */
GC_INNER struct roots * GC_roots_present(ptr_t b)
{
int h = rt_hash(b);