1
0
Fork 0
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:
Takashi Kokubun 2020-05-26 23:22:19 -07:00
parent 61b14bb32b
commit 9d71373c23
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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)