no need to pre-allocate method table

This commit is contained in:
Yukihiro Matsumoto
2012-04-20 13:56:02 +09:00
parent 98be612e01
commit fe585b2336
-1
View File
@@ -845,7 +845,6 @@ struct RClass *
mrb_module_new(mrb_state *mrb)
{
struct RClass *m = mrb_obj_alloc(mrb, MRB_TT_MODULE, mrb->module_class);
m->mt = kh_init(mt, mrb);
make_metaclass(mrb, m);
return m;