From 2c075d38635afc01ca7b7d75fbd11332a122c06f Mon Sep 17 00:00:00 2001 From: tenderlove Date: Thu, 21 Dec 2017 00:40:54 +0000 Subject: Fix `imemo_name` to dump new imemo types New IMEMO types were introduced, this just fixes the function that converts the type to support the new types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/objspace_dump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 18c4061f29..19ba1f2e8b 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -205,6 +205,9 @@ imemo_name(int imemo) TYPE_STR(memo); TYPE_STR(ment); TYPE_STR(iseq); + TYPE_STR(alloc); + TYPE_STR(ast); + TYPE_STR(parser_strterm); default: return "unknown"; #undef TYPE_STR -- cgit v1.2.3