From c8094ff154065f243292a09dce5d4c8d90f8309a Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Feb 2018 08:39:48 +0000 Subject: no ID cache in Init functions Init functions are called only once, cache is useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/objspace.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/objspace/objspace.c') diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index c791f3a7f7..bfa2f47f63 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -936,6 +936,7 @@ void Init_objspace_dump(VALUE rb_mObjSpace); void Init_objspace(void) { +#undef rb_intern VALUE rb_mObjSpace; #if 0 rb_mObjSpace = rb_define_module("ObjectSpace"); /* let rdoc know */ -- cgit v1.2.3