summaryrefslogtreecommitdiff
path: root/vm_sync.h
diff options
context:
space:
mode:
authorKoichi Sasada <[email protected]>2024-11-07 09:50:12 +0900
committerKoichi Sasada <[email protected]>2024-11-08 18:02:46 +0900
commit1615996067b91f7e7e2b9c239b25247b4471e8b9 (patch)
tree25bccdff26f2875f7a396e429ddfffb5ddd91d9b /vm_sync.h
parent78064d0770c40af89f9a57eb111a27fba00b2ec8 (diff)
specify NOINLINE for LTO
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11142
Diffstat (limited to 'vm_sync.h')
-rw-r--r--vm_sync.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_sync.h b/vm_sync.h
index 4d83b5e52c..e8243d6f50 100644
--- a/vm_sync.h
+++ b/vm_sync.h
@@ -21,9 +21,9 @@ void rb_vm_lock_body(LOCATION_ARGS);
void rb_vm_unlock_body(LOCATION_ARGS);
struct rb_ractor_struct;
-void rb_vm_lock_enter_body_cr(struct rb_ractor_struct *cr, unsigned int *lev APPEND_LOCATION_ARGS);
-void rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS);
-void rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS);
+NOINLINE(void rb_vm_lock_enter_body_cr(struct rb_ractor_struct *cr, unsigned int *lev APPEND_LOCATION_ARGS));
+NOINLINE(void rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS));
+NOINLINE(void rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS));
void rb_vm_lock_leave_body(unsigned int *lev APPEND_LOCATION_ARGS);
void rb_vm_barrier(void);