mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/objspace/objspace.c (count_imemo_objects): support imemo_ment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fac04ba965
commit
37b38306e8
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jun 18 14:35:28 2015 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* ext/objspace/objspace.c (count_imemo_objects): support imemo_ment.
|
||||||
|
|
||||||
Thu Jun 18 13:32:46 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jun 18 13:32:46 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* error.c (name_err_receiver): add NameError#receiver method.
|
* error.c (name_err_receiver): add NameError#receiver method.
|
||||||
|
|
|
@ -569,6 +569,7 @@ count_imemo_objects(int argc, VALUE *argv, VALUE self)
|
||||||
imemo_type_ids[3] = rb_intern("imemo_throw_data");
|
imemo_type_ids[3] = rb_intern("imemo_throw_data");
|
||||||
imemo_type_ids[4] = rb_intern("imemo_ifunc");
|
imemo_type_ids[4] = rb_intern("imemo_ifunc");
|
||||||
imemo_type_ids[5] = rb_intern("imemo_memo");
|
imemo_type_ids[5] = rb_intern("imemo_memo");
|
||||||
|
imemo_type_ids[6] = rb_intern("imemo_ment");
|
||||||
}
|
}
|
||||||
|
|
||||||
rb_objspace_each_objects(count_imemo_objects_i, (void *)hash);
|
rb_objspace_each_objects(count_imemo_objects_i, (void *)hash);
|
||||||
|
|
Loading…
Reference in a new issue