summaryrefslogtreecommitdiff
path: root/proc.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 /proc.c
parent31f4b2d86bfbc753cec9be376719acc4b120e944 (diff)
downloadruby-233ddfac541749a0da80ea27913dc1ef4ea700bb.tar.gz
Stop exporting symbols for MJIT
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/proc.c b/proc.c
index 38463ca03f..17c837d164 100644
--- a/proc.c
+++ b/proc.c
@@ -743,14 +743,14 @@ rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int m
return (struct vm_ifunc *)ret;
}
-MJIT_FUNC_EXPORTED VALUE
+VALUE
rb_func_proc_new(rb_block_call_func_t func, VALUE val)
{
struct vm_ifunc *ifunc = rb_vm_ifunc_proc_new(func, (void *)val);
return cfunc_proc_new(rb_cProc, (VALUE)ifunc);
}
-MJIT_FUNC_EXPORTED VALUE
+VALUE
rb_func_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc)
{
struct vm_ifunc *ifunc = rb_vm_ifunc_new(func, (void *)val, min_argc, max_argc);
@@ -1359,7 +1359,7 @@ iseq_location(const rb_iseq_t *iseq)
return rb_ary_new4(2, loc);
}
-MJIT_FUNC_EXPORTED VALUE
+VALUE
rb_iseq_location(const rb_iseq_t *iseq)
{
return iseq_location(iseq);
@@ -1471,7 +1471,7 @@ rb_hash_proc(st_index_t hash, VALUE prc)
*
*/
-MJIT_FUNC_EXPORTED VALUE
+VALUE
rb_sym_to_proc(VALUE sym)
{
static VALUE sym_proc_cache = Qfalse;