mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8a8221e69d
commit
3f05ee0f42
1 changed files with 3 additions and 0 deletions
3
gc.c
3
gc.c
|
@ -3507,6 +3507,9 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
|
|||
/* This assumes that all registers are saved into the jmp_buf (and stack) */
|
||||
rb_setjmp(save_regs_gc_mark.j);
|
||||
|
||||
/* SET_STACK_END must be called in this function because
|
||||
* the stack frame of this function may contain
|
||||
* callee save registers and they should be marked. */
|
||||
SET_STACK_END;
|
||||
GET_STACK_BOUNDS(stack_start, stack_end, 1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue