summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-05-13 13:25:12 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commitda30f21ab5122b55f69fb41290f587aadd4fb8f7 (patch)
treec5bd60e8a73abe2dc717928871f638a0783aa85d /vm_insnhelper.c
parent0db85218aa6d398222ffeb25a0b6858c378fd59e (diff)
Try to fix MJIT symbol clash with cargo cult
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index c9c4744b23..8babcca0a4 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -2240,7 +2240,7 @@ rb_simple_iseq_p(const rb_iseq_t *iseq)
iseq->body->param.flags.has_block == FALSE;
}
-bool
+MJIT_FUNC_EXPORTED bool
rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
{
return iseq->body->param.flags.has_opt == TRUE &&
@@ -2252,7 +2252,7 @@ rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
iseq->body->param.flags.has_block == FALSE;
}
-bool
+MJIT_FUNC_EXPORTED bool
rb_iseq_only_kwparam_p(const rb_iseq_t *iseq)
{
return iseq->body->param.flags.has_opt == FALSE &&