From e9303e1a00f83d51d46c0df418cfbd57a1bb0c6d Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 9 May 2018 07:11:59 +0000 Subject: Rename imemo_alloc with imemo_tmpbuf git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/objspace.c | 2 +- ext/objspace/objspace_dump.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index bfa2f47f63..f9157d6c0e 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -625,7 +625,7 @@ count_imemo_objects(int argc, VALUE *argv, VALUE self) imemo_type_ids[5] = rb_intern("imemo_memo"); imemo_type_ids[6] = rb_intern("imemo_ment"); imemo_type_ids[7] = rb_intern("imemo_iseq"); - imemo_type_ids[8] = rb_intern("imemo_alloc"); + imemo_type_ids[8] = rb_intern("imemo_tmpbuf"); imemo_type_ids[9] = rb_intern("imemo_parser_strterm"); } diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 7b329b782b..afc41892d1 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -205,7 +205,7 @@ imemo_name(int imemo) TYPE_STR(memo); TYPE_STR(ment); TYPE_STR(iseq); - TYPE_STR(alloc); + TYPE_STR(tmpbuf); TYPE_STR(ast); TYPE_STR(parser_strterm); default: -- cgit v1.2.3