summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-18 03:23:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-18 03:23:10 +0000
commitad654fe58e0355096fba7e1ae5b5f06eea62c200 (patch)
treee6a4e1e887d6ae43b8e8f73ac2244d7a9b2031db
parentabb855513ca83e987b3a2a7a86066fd798fc8558 (diff)
* gc.c (rb_objspace_each_objects): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 20c34a7077..9a96e31da0 100644
--- a/gc.c
+++ b/gc.c
@@ -2535,9 +2535,9 @@ rb_objspace_each_objects(int (*callback)(void *vstart, void *vend,
i = 0;
while (i < heaps_used) {
while (0 < i && (uintptr_t)membase < (uintptr_t)objspace->heap.sorted[i-1].slot->membase)
- i--;
+ i--;
while (i < heaps_used && (uintptr_t)objspace->heap.sorted[i].slot->membase <= (uintptr_t)membase )
- i++;
+ i++;
if (heaps_used <= i)
break;
membase = objspace->heap.sorted[i].slot->membase;