This isn’t about updating pointers when moving the stack, it’s for garbage collection to know if there are any pointers in the stack frame referring to heap-allocated objects that should be kept alive.
This isn’t about updating pointers when moving the stack, it’s for garbage collection to know if there are any pointers in the stack frame referring to heap-allocated objects that should be kept alive.