diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Thu Nov 4 19:26:10 2010 Koichi Sasada <ko1@atdot.net> + + * gc.c (before_gc_sweep): fix commit miss. + Thu Nov 4 19:20:46 2010 Koichi Sasada <ko1@atdot.net> * gc.c (after_gc_sweep, before_gc_sweep): @@ -1981,8 +1981,8 @@ before_gc_sweep(rb_objspace_t *objspace) objspace->heap.free_num = 0; /* sweep unlinked method entries */ - if (th->vm->unlinked_method_entry_list) { - rb_sweep_method_entry(th->vm); + if (GET_VM()->unlinked_method_entry_list) { + rb_sweep_method_entry(GET_VM()); } } |