diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 02:49:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 02:49:53 +0000 |
commit | 0b87f8d4cfa627173037c00712e28eb0d5df8307 (patch) | |
tree | 6cc013ae54152ac60b1ac8497ffe36640fd54300 /gc.c | |
parent | 147775ac2b21b6591d24cc2af23b8fccb3daf3fa (diff) | |
download | ruby-0b87f8d4cfa627173037c00712e28eb0d5df8307.tar.gz |
* 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
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |