summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 14:13:20 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 14:13:20 +0000
commit7b52f3a722c26fed7747cd383fb14662cbc84170 (patch)
treee6a437124274cab5ca017ba39c536880a55c2876 /gc.c
parent7cc4b8097cde58ceb0c1252a4f37d69a674377e3 (diff)
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 1f4afb0f00..108f1f4d28 100644
--- a/gc.c
+++ b/gc.c
@@ -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