summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:34:31 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:59:23 -0800
commit233ddfac541749a0da80ea27913dc1ef4ea700bb (patch)
treed0b0d5939225ed1ebbb03c1dbeae7f0d3548092b /vm_insnhelper.c
parent31f4b2d86bfbc753cec9be376719acc4b120e944 (diff)
downloadruby-233ddfac541749a0da80ea27913dc1ef4ea700bb.tar.gz
Stop exporting symbols for MJIT
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index b2321ed7c8..296bad1ba3 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -240,7 +240,7 @@ static VALUE vm_stack_canary; /* Initialized later */
static bool vm_stack_canary_was_born = false;
#ifndef MJIT_HEADER
-MJIT_FUNC_EXPORTED void
+void
rb_vm_check_canary(const rb_execution_context_t *ec, VALUE *sp)
{
const struct rb_control_frame_struct *reg_cfp = ec->cfp;
@@ -2081,7 +2081,7 @@ vm_search_cc(const VALUE klass, const struct rb_callinfo * const ci)
return cc;
}
-MJIT_FUNC_EXPORTED const struct rb_callcache *
+const struct rb_callcache *
rb_vm_search_method_slowpath(const struct rb_callinfo *ci, VALUE klass)
{
const struct rb_callcache *cc;
@@ -2517,7 +2517,7 @@ rb_simple_iseq_p(const rb_iseq_t *iseq)
ISEQ_BODY(iseq)->param.flags.has_block == FALSE;
}
-MJIT_FUNC_EXPORTED bool
+bool
rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
{
return ISEQ_BODY(iseq)->param.flags.has_opt == TRUE &&
@@ -2529,7 +2529,7 @@ rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
ISEQ_BODY(iseq)->param.flags.has_block == FALSE;
}
-MJIT_FUNC_EXPORTED bool
+bool
rb_iseq_only_kwparam_p(const rb_iseq_t *iseq)
{
return ISEQ_BODY(iseq)->param.flags.has_opt == FALSE &&
@@ -3567,7 +3567,7 @@ vm_call_bmethod(rb_execution_context_t *ec, rb_control_frame_t *cfp, struct rb_c
return vm_call_bmethod_body(ec, calling, argv);
}
-MJIT_FUNC_EXPORTED VALUE
+VALUE
rb_find_defined_class_by_owner(VALUE current_class, VALUE target_owner)
{
VALUE klass = current_class;
@@ -6299,7 +6299,7 @@ Init_vm_stack_canary(void)
}
#ifndef MJIT_HEADER
-MJIT_FUNC_EXPORTED void
+void
rb_vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)
{
/* Because a method has already been called, why not call