diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-21 05:59:57 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-21 05:59:57 +0000 |
commit | a8695d5022d7afbf004765bfb86457fbb9d56457 (patch) | |
tree | 95d1538d824b7e31402eebd62256dc621e97c495 /vm_insnhelper.c | |
parent | 3c4b7898d82f0a57cc3d034a246c28093c5f2dfd (diff) | |
download | ruby-a8695d5022d7afbf004765bfb86457fbb9d56457.tar.gz |
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 && |