diff options
author | Koichi Sasada <[email protected]> | 2024-11-07 09:50:12 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2024-11-08 18:02:46 +0900 |
commit | 1615996067b91f7e7e2b9c239b25247b4471e8b9 (patch) | |
tree | 25bccdff26f2875f7a396e429ddfffb5ddd91d9b /vm_sync.h | |
parent | 78064d0770c40af89f9a57eb111a27fba00b2ec8 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |