From 8eb0c810b228df1f8352c005a7ae882ad4179b4b Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 21 Nov 2014 16:11:55 +0000 Subject: get rid of inadvertent ID creation * object.c (rb_mod_const_get, rb_mod_const_defined): ditto. * variable.c (rb_const_missing, rb_mod_const_missing): call const_missing without new ID to get rid of inadvertent ID creation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 4e5c01a638..e7b866bdd6 100644 --- a/internal.h +++ b/internal.h @@ -1157,6 +1157,7 @@ extern const signed char ruby_digit36_to_number_table[]; void rb_gc_mark_global_tbl(void); void rb_mark_generic_ivar(VALUE); void rb_mark_generic_ivar_tbl(void); +VALUE rb_const_missing(VALUE klass, VALUE name); int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value); st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl); -- cgit v1.2.3