diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-04-20 13:56:02 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-04-20 13:56:02 +0900 |
| commit | fe585b233666e94074afc666e533dafaee149ddb (patch) | |
| tree | be9c3523990eefd958fb63f8992732f75ee2a4f5 /src | |
| parent | 98be612e017013452c3b2339b67cc46333cbd754 (diff) | |
| download | mruby-fe585b233666e94074afc666e533dafaee149ddb.tar.gz mruby-fe585b233666e94074afc666e533dafaee149ddb.zip | |
no need to pre-allocate method table
Diffstat (limited to 'src')
| -rw-r--r-- | src/class.c | 1 |
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; |
