mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Consistent style
This commit is contained in:
parent
4011cdb601
commit
eb4a4b9aff
1 changed files with 1 additions and 2 deletions
3
gc.c
3
gc.c
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue