Don't set stack end in rb_gc_mark_roots
We don't need to set the stack end in rb_gc_mark_roots because it is already set in mark_current_machine_context.
This commit is contained in:
parent
87a85550ed
commit
b80b839926
Notes:
git
2024-08-13 19:53:33 +00:00
1
gc.c
1
gc.c
@ -2456,7 +2456,6 @@ rb_gc_mark_roots(void *objspace, const char **categoryp)
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
MARK_CHECKPOINT("vm");
|
MARK_CHECKPOINT("vm");
|
||||||
SET_STACK_END;
|
|
||||||
rb_vm_mark(vm);
|
rb_vm_mark(vm);
|
||||||
if (vm->self) rb_gc_impl_mark(objspace, vm->self);
|
if (vm->self) rb_gc_impl_mark(objspace, vm->self);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user