diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 02:52:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 02:52:42 +0000 |
commit | 83db393e489cc48783d19a81c3a1a9448caf847f (patch) | |
tree | a21a2f6bf178abd5cfb9536dfca44582ce5891bc /gc.c | |
parent | 5385ae9af43208c014040ed1025b09415d48b36f (diff) | |
download | ruby-83db393e489cc48783d19a81c3a1a9448caf847f.tar.gz |
adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2156,9 +2156,9 @@ slot_sweep_body(rb_objspace_t *objspace, struct heaps_slot *sweep_slot, const in bits[BITMAP_INDEX(p)] |= BITMAP_BIT(p)-1; bits[BITMAP_INDEX(pend)] |= ~(BITMAP_BIT(pend) - 1); - for(i=0;i<HEAP_BITMAP_LIMIT;i++){ + for (i=0; i < HEAP_BITMAP_LIMIT; i++) { bitset = ~bits[i]; - if(bitset){ + if (bitset) { p = offset + i * (sizeof(uintptr_t) * CHAR_BIT); do { if ((bitset & 1) && BUILTIN_TYPE(p) != T_ZOMBIE) { @@ -3603,8 +3603,8 @@ rgengc_rememberset_mark(rb_objspace_t *objspace) offset = p - NUM_IN_SLOT(p); - for(j=0;j< HEAP_BITMAP_LIMIT;j++){ - if(bits[j]){ + for (j=0; j < HEAP_BITMAP_LIMIT; j++) { + if (bits[j]) { p = offset + j * (sizeof(uintptr_t) * CHAR_BIT); bitset = bits[j]; do { |