Consistent style

This commit is contained in:
Justin Ethier 2017-07-19 17:54:08 -04:00
parent 4011cdb601
commit eb4a4b9aff

3
gc.c
View file

@ -1230,8 +1230,7 @@ static void mark_stack_or_heap_obj(gc_thread_data * thd, object obj, int locked)
{
if (!is_object_type(obj) || type_of(obj) == boolean_tag) {
return;
}
else if (gc_is_stack_obj(thd, obj)) {
} else if (gc_is_stack_obj(thd, obj)) {
// Set object to be marked after moved to heap by next GC.
// This avoids having to recursively examine the stack now,
// which we have to do anyway during minor GC.