mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue