summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/objspace/objspace.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 310645bab4..98dc8777b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* error.c (name_err_receiver): add NameError#receiver method.
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index bc53b8462b..7d461831ac 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -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[4] = rb_intern("imemo_ifunc");
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);