aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-05 15:49:32 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-05 15:49:32 +0000
commite97fa7d499b0e4a35b34a3e79371f0ef3190a5d5 (patch)
tree9c5fe69928d2ba3e15e68827decfb2295f5f93fc /mjit_compile.c
parentc741cdbe60f9f3ccd076acf47638c5c6c0e4e22d (diff)
downloadruby-e97fa7d499b0e4a35b34a3e79371f0ef3190a5d5.tar.gz
vm_insnhelper.c: prefix rb_ to simple_iseq_p
which is started to be used by mjit_compile.c in r62197. Related to r62235, this intends to transform the function to static. Of course we shouldn't pollute the namespace anyway. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index b323192fe9..226d3e30a7 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -57,9 +57,9 @@ get_iseq_if_available(CALL_CACHE cc)
static int
inlinable_iseq_p(CALL_INFO ci, CALL_CACHE cc, const rb_iseq_t *iseq)
{
- extern int simple_iseq_p(const rb_iseq_t *iseq);
+ extern int rb_simple_iseq_p(const rb_iseq_t *iseq);
return iseq != NULL
- && simple_iseq_p(iseq) && !(ci->flag & VM_CALL_KW_SPLAT) /* top of vm_callee_setup_arg */
+ && rb_simple_iseq_p(iseq) && !(ci->flag & VM_CALL_KW_SPLAT) /* top of vm_callee_setup_arg */
&& (!IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) && !(METHOD_ENTRY_VISI(cc->me) == METHOD_VISI_PROTECTED)); /* CI_SET_FASTPATH */
}