From f9c614c66880bf5435d5c877f96dd9ed10689376 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 5 Dec 2017 08:58:57 +0000 Subject: Hide ISeq#load I disclosed it incorrectly at r61025. Sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iseq.c b/iseq.c index 0e5594fb06..e0f3bc394e 100644 --- a/iseq.c +++ b/iseq.c @@ -2524,8 +2524,8 @@ Init_ISeq(void) rb_define_private_method(rb_cISeq, "marshal_dump", iseqw_marshal_dump, 0); rb_define_private_method(rb_cISeq, "marshal_load", iseqw_marshal_load, 1); /* disable this feature because there is no verifier. */ -#endif rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); +#endif (void)iseq_s_load; rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1); -- cgit v1.2.3