diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Jun 26 23:11:14 2013 Kouhei Sutou <kou@cozmixng.org> + + * gc.c (is_before_sweep): Add a missing space before a parenthesis. + * gc.c (rb_gc_force_recycle): Add a missing space around a parenthesis. + Wed Jun 26 22:44:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/intern.h (rb_enumeratorize_with_size): cast for @@ -611,7 +611,7 @@ is_before_sweep(VALUE obj) if (is_lazy_sweeping(objspace)) { slot = objspace->heap.sweep_slots; while (slot) { - if(slot->header == GET_HEAP_HEADER(obj)) + if (slot->header == GET_HEAP_HEADER(obj)) return TRUE; slot = slot->next; } @@ -3987,7 +3987,7 @@ rb_gc_force_recycle(VALUE p) #if USE_RGENGC CLEAR_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(p), p); CLEAR_IN_BITMAP(GET_HEAP_OLDGEN_BITS(p), p); - if(!is_before_sweep(p)){ + if (!is_before_sweep(p)) { CLEAR_IN_BITMAP(GET_HEAP_MARK_BITS(p), p); } #endif |