From a8695d5022d7afbf004765bfb86457fbb9d56457 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 21 Mar 2019 05:59:57 +0000 Subject: [PATCH] Make rb_iseq_only_optparam_p static because it's not used outside vm*.c, and also having non-static function without MJIT_STATIC is harmful for mswin JIT system. I hope this fix mswin test failure starting from r67315. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 78c303fc08..6407f13ca0 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1703,7 +1703,7 @@ rb_simple_iseq_p(const rb_iseq_t *iseq) iseq->body->param.flags.has_block == FALSE; } -bool +static bool rb_iseq_only_optparam_p(const rb_iseq_t *iseq) { return iseq->body->param.flags.has_opt == TRUE &&