From 0b87f8d4cfa627173037c00712e28eb0d5df8307 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 7 Jun 2013 02:49:53 +0000 Subject: * gc.c (gc_clear_slot_bits): used only if no RGenGC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index e79e19ba48..cbad1d72a2 100644 --- a/gc.c +++ b/gc.c @@ -2116,13 +2116,13 @@ lazy_sweep_enable(void) return Qnil; } +#if !USE_RGENGC static void gc_clear_slot_bits(struct heaps_slot *slot) { memset(slot->header->mark_bits, 0, HEAP_BITMAP_LIMIT * sizeof(uintptr_t)); } - -#if USE_RGENGC +#else static void gc_setup_mark_bits(struct heaps_slot *slot) { -- cgit v1.2.3