ruby-changes:49262
From: tenderlove <ko1@a...>
Date: Thu, 21 Dec 2017 09:41:00 +0900 (JST)
Subject: [ruby-changes:49262] tenderlove:r61377 (trunk): Fix `imemo_name` to dump new imemo types
tenderlove 2017-12-21 09:40:54 +0900 (Thu, 21 Dec 2017) New Revision: 61377 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61377 Log: 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. Modified files: trunk/ext/objspace/objspace_dump.c Index: ext/objspace/objspace_dump.c =================================================================== --- ext/objspace/objspace_dump.c (revision 61376) +++ ext/objspace/objspace_dump.c (revision 61377) @@ -205,6 +205,9 @@ imemo_name(int imemo) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L205 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/