Skip to content

Commit

Permalink
* expand tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
matzbot committed Aug 13, 2019
1 parent c215a6f commit f78916e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gc.c
Expand Up @@ -2740,7 +2740,7 @@ objspace_each_objects_without_setup(rb_objspace_t *objspace, each_obj_callback *
pstart = page->start;
pend = pstart + page->total_slots;

if ((*callback)(pstart, pend, sizeof(RVALUE), data)) {
if ((*callback)(pstart, pend, sizeof(RVALUE), data)) {
break;
}
}
Expand Down Expand Up @@ -2814,11 +2814,11 @@ objspace_each_objects(rb_objspace_t *objspace, each_obj_callback *callback, void
objspace->flags.dont_incremental = TRUE;

if (prev_dont_incremental) {
objspace_each_objects_without_setup(objspace, callback, data);
objspace_each_objects_without_setup(objspace, callback, data);
}
else {
struct each_obj_args args = {objspace, callback, data};
rb_ensure(objspace_each_objects_protected, (VALUE)&args, incremental_enable, Qnil);
rb_ensure(objspace_each_objects_protected, (VALUE)&args, incremental_enable, Qnil);
}
}

Expand Down

0 comments on commit f78916e

Please sign in to comment.