summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-04-20 13:56:02 +0900
committerYukihiro Matsumoto <[email protected]>2012-04-20 13:56:02 +0900
commitfe585b233666e94074afc666e533dafaee149ddb (patch)
treebe9c3523990eefd958fb63f8992732f75ee2a4f5 /src/class.c
parent98be612e017013452c3b2339b67cc46333cbd754 (diff)
downloadmruby-fe585b233666e94074afc666e533dafaee149ddb.tar.gz
mruby-fe585b233666e94074afc666e533dafaee149ddb.zip
no need to pre-allocate method table
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index e5eeab4cb..9abd90c31 100644
--- a/src/class.c
+++ b/src/class.c
@@ -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;