From 7fad8a3db187b49a14f7b3e29ce1c5cf662e1822 Mon Sep 17 00:00:00 2001 From: "Sunrin SHIMURA (keen)" <3han5chou7@gmail.com> Date: Sun, 19 Jun 2016 10:41:24 +0900 Subject: [PATCH] tiny style fix --- extlib/benz/gc/bitmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extlib/benz/gc/bitmap.c b/extlib/benz/gc/bitmap.c index aca4ff69..a6cca255 100644 --- a/extlib/benz/gc/bitmap.c +++ b/extlib/benz/gc/bitmap.c @@ -247,8 +247,7 @@ heap_alloc_heap_page(struct heap_page *page, size_t nunits) for (index = page->current; index < HEADER_SIZE - (nunits + 1); ++index) { if (index % UNIT_SIZE == 0 && is_marked_at(page->index, index / UNIT_SIZE, 1)) { - index += UNIT_SIZE - 1; - continue; + index += UNIT_SIZE; } if (! is_marked_at(page->bitmap, index, nunits+1)) {