mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mark vm_stackoverflow as NOINLINE COLDFUNC on JIT
to reduce code size and improve locality of hot code.
This commit is contained in:
parent
61b14bb32b
commit
9d71373c23
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ ec_stack_overflow(rb_execution_context_t *ec, int setup)
|
|||
}
|
||||
|
||||
NORETURN(static void vm_stackoverflow(void));
|
||||
#ifdef MJIT_HEADER
|
||||
NOINLINE(static COLDFUNC void vm_stackoverflow(void));
|
||||
#endif
|
||||
|
||||
static void
|
||||
vm_stackoverflow(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue