diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-21 00:40:54 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-21 00:40:54 +0000 |
commit | 2c075d38635afc01ca7b7d75fbd11332a122c06f (patch) | |
tree | e2f97af21999d647500611be926f6070572d35be | |
parent | 3b174fb7d6a8883ec64b4f866992b66d86ab3c42 (diff) |
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
-rw-r--r-- | ext/objspace/objspace_dump.c | 3 |
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 |