summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 05:02:13 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 05:02:13 +0000
commitf088828106254ebb0d07b0385966692c3f938c0c (patch)
tree9a6273f659ef973f535f1e175fa03ab3f06094ea /class.c
parentaaccbfeda10964119766c69949e563c5430f2b4d (diff)
* class.c (class_alloc): remove mc_tbl
* gc.c (obj_free): ditto * internal.h (struct rb_classext_struct): ditto * method.h (rb_method_entry): remove ent param * vm_method.c: restore the global method cache. Per class cache tables turned out to be far too slow. [ruby-core:57289] [Bug #8930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/class.c b/class.c
index 8a77d12..2573bd9 100644
--- a/class.c
+++ b/class.c
@@ -165,7 +165,6 @@ class_alloc(VALUE flags, VALUE klass)
RCLASS_EXT(obj)->parent_subclasses = NULL;
RCLASS_EXT(obj)->module_subclasses = NULL;
RCLASS_EXT(obj)->seq = rb_next_class_sequence();
- RCLASS_EXT(obj)->mc_tbl = NULL;
RCLASS_REFINED_CLASS(obj) = Qnil;
RCLASS_EXT(obj)->allocator = 0;