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
This commit is contained in:
parent
3c4b7898d8
commit
a8695d5022
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user