summaryrefslogtreecommitdiff
path: root/vm_sync.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_sync.c
parent31f4b2d86bfbc753cec9be376719acc4b120e944 (diff)
Stop exporting symbols for MJIT
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7459
Diffstat (limited to 'vm_sync.c')
-rw-r--r--vm_sync.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_sync.c b/vm_sync.c
index 235828362d..074efc76cc 100644
--- a/vm_sync.c
+++ b/vm_sync.c
@@ -129,7 +129,7 @@ vm_lock_leave(rb_vm_t *vm, unsigned int *lev APPEND_LOCATION_ARGS)
}
}
-MJIT_FUNC_EXPORTED void
+void
rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS)
{
rb_vm_t *vm = GET_VM();
@@ -141,7 +141,7 @@ rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS)
}
}
-MJIT_FUNC_EXPORTED void
+void
rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS)
{
rb_vm_t *vm = GET_VM();
@@ -153,14 +153,14 @@ rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS)
}
}
-MJIT_FUNC_EXPORTED void
+void
rb_vm_lock_enter_body_cr(rb_ractor_t *cr, unsigned int *lev APPEND_LOCATION_ARGS)
{
rb_vm_t *vm = GET_VM();
vm_lock_enter(cr, vm, vm_locked(vm), false, lev APPEND_LOCATION_PARAMS);
}
-MJIT_FUNC_EXPORTED void
+void
rb_vm_lock_leave_body(unsigned int *lev APPEND_LOCATION_ARGS)
{
vm_lock_leave(GET_VM(), lev APPEND_LOCATION_PARAMS);