diff options
author | yui-knk <[email protected]> | 2023-05-22 21:55:49 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-05-23 18:05:35 +0900 |
commit | 98637d421dbe8bcf86cc2effae5e26bb96a6a4da (patch) | |
tree | 991149893428e3b074774caba9533bb221e5ca42 /iseq.c | |
parent | ef3aa22738d934beedfda9f486f3384e5457da8b (diff) |
Move `ruby_node_name` to node.c and rename prefix of the function
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7844
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -2704,17 +2704,6 @@ iseqw_s_disasm(VALUE klass, VALUE body) return NIL_P(iseqw) ? Qnil : rb_iseq_disasm(iseqw_check(iseqw)); } -const char * -ruby_node_name(int node) -{ - switch (node) { -#include "node_name.inc" - default: - rb_bug("unknown node: %d", node); - return 0; - } -} - static VALUE register_label(struct st_table *table, unsigned long idx) { |