Commit fe585b23 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

no need to pre-allocate method table

parent 98be612e
...@@ -845,7 +845,6 @@ struct RClass * ...@@ -845,7 +845,6 @@ struct RClass *
mrb_module_new(mrb_state *mrb) mrb_module_new(mrb_state *mrb)
{ {
struct RClass *m = mrb_obj_alloc(mrb, MRB_TT_MODULE, mrb->module_class); struct RClass *m = mrb_obj_alloc(mrb, MRB_TT_MODULE, mrb->module_class);
m->mt = kh_init(mt, mrb);
make_metaclass(mrb, m); make_metaclass(mrb, m);
return m; return m;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment