diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Jul 26 09:51:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm.c (rb_thread_mark): mark only self of normal iseqs, not + nodes. [ruby-dev:41874] + Sun Jul 25 05:37:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * numeric.c (flo_cmp): honor the result of infinite? method of the @@ -1647,7 +1647,7 @@ rb_thread_mark(void *ptr) while (cfp != limit_cfp) { rb_gc_mark(cfp->proc); - if (cfp->iseq) rb_gc_mark(cfp->iseq->self); + if (RUBY_VM_NORMAL_ISEQ_P(cfp->iseq)) rb_gc_mark(cfp->iseq->self); if (cfp->me) ((rb_method_entry_t *)cfp->me)->mark = 1; cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(cfp); } |