aboutsummaryrefslogtreecommitdiffstats
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-21 00:40:54 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-21 00:40:54 +0000
commite86b87ef002bf117e4bd9849f490235814045aef (patch)
treee2f97af21999d647500611be926f6070572d35be /ext/objspace/objspace_dump.c
parente74ec4ebd0de14c808dc0ffbaf05b48c6da1367d (diff)
downloadruby-e86b87ef002bf117e4bd9849f490235814045aef.tar.gz
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
Diffstat (limited to 'ext/objspace/objspace_dump.c')
-rw-r--r--ext/objspace/objspace_dump.c3
1 files changed, 3 insertions, 0 deletions
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