summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-05 08:58:57 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-05 08:58:57 +0000
commitf9c614c66880bf5435d5c877f96dd9ed10689376 (patch)
tree2794ad48038c23c1d9c2c0aab8c5aca38382f41e
parentf6556c5c398190d21e59ce23ff814c6116fbd27e (diff)
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
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
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);