summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-24 05:13:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-24 05:13:54 +0000
commitb4a2e268ea165c0b4321d76b68467ca6ca61a9aa (patch)
treee8b01b6b415c7798310cab52305fc2476a6354e9 /gc.c
parente54daddac4e5583e62ef9d665d4f3d4a859478c9 (diff)
gc.c: fix compile error
* gc.c (gc_prepare_free_objects): fix compile error. there should be free objects when new slot is added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 253dc0afdd..71d5e2b954 100644
--- a/gc.c
+++ b/gc.c
@@ -2048,7 +2048,7 @@ gc_prepare_free_objects(rb_objspace_t *objspace)
if (!GC_ENABLE_LAZY_SWEEP || objspace->flags.dont_lazy_sweep) {
if (heaps_increment(objspace)) {
- return;
+ return TRUE;
}
else {
return garbage_collect(objspace);