summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-05-22 21:55:49 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-05-23 18:05:35 +0900
commit98637d421dbe8bcf86cc2effae5e26bb96a6a4da (patch)
tree991149893428e3b074774caba9533bb221e5ca42 /iseq.c
parentef3aa22738d934beedfda9f486f3384e5457da8b (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.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/iseq.c b/iseq.c
index 81c60ae20e..bbeb537053 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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)
{