From 5617e317713b55d544fb493d9346d2330c60c727 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 14 Oct 2014 07:23:01 +0000 Subject: symbol.c: rename rb_str_dynamic_intern * iseq.c, marshal.c, string.c: use rb_str_intern instead of rb_str_dynamic_intern. * symbol.c (rb_str_intern): rename rb_str_dynamic_intern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 2872d4f131..2bfdf7c9ed 100644 --- a/iseq.c +++ b/iseq.c @@ -1617,7 +1617,7 @@ ruby_node_name(int node) static VALUE register_label(struct st_table *table, unsigned long idx) { - VALUE sym = rb_str_dynamic_intern(rb_sprintf("label_%lu", idx)); + VALUE sym = rb_str_intern(rb_sprintf("label_%lu", idx)); st_insert(table, idx, sym); return sym; } -- cgit v1.2.3