summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-19 14:22:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-19 14:22:27 +0000
commitd102ce6d09908fef31b2728abfa81de05aa4239b (patch)
treedc7913c0f26455b734eea5817356f240eaa20888 /gc.c
parente664d467a92df0e7655c453c0eda9bc7fd1e1884 (diff)
* eval.c (rb_eval): need not to clar method cache for NODE_CLASS,
NODE_SCLASS. * gc.c (obj_free): need not to clear method cache on class/module finalization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index fe274d0..f560298 100644
--- a/gc.c
+++ b/gc.c
@@ -941,7 +941,6 @@ obj_free(obj)
break;
case T_MODULE:
case T_CLASS:
- rb_clear_cache();
st_free_table(RANY(obj)->as.klass.m_tbl);
if (RANY(obj)->as.object.iv_tbl) {
st_free_table(RANY(obj)->as.object.iv_tbl);