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:
Peter Zhu 2024-08-09 12:20:17 -04:00
parent 87a85550ed
commit b80b839926
Notes: git 2024-08-13 19:53:33 +00:00

1
gc.c
View File

@ -2456,7 +2456,6 @@ rb_gc_mark_roots(void *objspace, const char **categoryp)
} while (0)
MARK_CHECKPOINT("vm");
SET_STACK_END;
rb_vm_mark(vm);
if (vm->self) rb_gc_impl_mark(objspace, vm->self);