diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 06:26:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 06:26:08 +0000 |
commit | 0c86e8b70b277ab5179d13839b9496dce55f51df (patch) | |
tree | f75f518c85036fcf077835d58fed6ae709378bdb | |
parent | ba7a870a8924fdd0fe1612ef4b74024ae0e3fe32 (diff) |
* method.c (rb_method_entry_t): body.proc should be marked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | gc.c | 3 | ||||
-rw-r--r-- | method.h | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1405,7 +1405,8 @@ mark_method_entry_i(ID key, const rb_method_entry_t *me, st_data_t data) } static void -mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev) { +mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev) +{ struct mark_tbl_arg arg; if (!tbl) return; arg.objspace = objspace; @@ -59,7 +59,7 @@ typedef struct rb_method_entry_struct { rb_iseq_t *iseq; /* should be mark */ rb_method_cfunc_t cfunc; ID attr_id; - VALUE proc; + VALUE proc; /* should be mark */ enum method_optimized_type { OPTIMIZED_METHOD_TYPE_SEND, OPTIMIZED_METHOD_TYPE_CALL |