diff options
Diffstat (limited to 'yarvcore.c')
-rw-r--r-- | yarvcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarvcore.c b/yarvcore.c index 7d6869ad5b..883ae8252d 100644 --- a/yarvcore.c +++ b/yarvcore.c @@ -266,7 +266,7 @@ thread_mark(void *ptr) th = ptr; if (th->stack) { VALUE *p = th->stack; - VALUE *sp = th->cfp->sp; + VALUE *sp = th->cfp->sp + th->mark_stack_len; rb_control_frame_t *cfp = th->cfp; rb_control_frame_t *limit_cfp = (void *)(th->stack + th->stack_size); |