Skip to content

Commit 1615996

Browse files
committed
specify NOINLINE for LTO
1 parent 78064d0 commit 1615996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vm_sync.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ void rb_vm_lock_body(LOCATION_ARGS);
2121
void rb_vm_unlock_body(LOCATION_ARGS);
2222

2323
struct rb_ractor_struct;
24-
void rb_vm_lock_enter_body_cr(struct rb_ractor_struct *cr, unsigned int *lev APPEND_LOCATION_ARGS);
25-
void rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS);
26-
void rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS);
24+
NOINLINE(void rb_vm_lock_enter_body_cr(struct rb_ractor_struct *cr, unsigned int *lev APPEND_LOCATION_ARGS));
25+
NOINLINE(void rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS));
26+
NOINLINE(void rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS));
2727
void rb_vm_lock_leave_body(unsigned int *lev APPEND_LOCATION_ARGS);
2828
void rb_vm_barrier(void);
2929

0 commit comments

Comments
 (0)