diff options
author | Takashi Kokubun <[email protected]> | 2024-02-23 11:08:09 -0800 |
---|---|---|
committer | <[email protected]> | 2024-02-23 19:08:09 +0000 |
commit | 8a6740c70edf39cdf6230659d191240c43dc6d22 () | |
tree | 33ccb69b507392b7bc842dfe97e904f8a5bb4ef9 /yjit.h | |
parent | 50ace992c75724aac6765b944f9017e21901e276 (diff) |
YJIT: Lazily push a frame for specialized C funcs (#10080)
* YJIT: Lazily push a frame for specialized C funcs Co-authored-by: Maxime Chevalier-Boisvert <[email protected]> * Fix a comment on pc_to_cfunc * Rename rb_yjit_check_pc to rb_yjit_lazy_push_frame * Rename it to jit_prepare_lazy_frame_call * Fix a typo * Optimize String#getbyte as well * Optimize String#byteslice as well --------- Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
-rw-r--r-- | yjit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,7 @@ void rb_yjit_before_ractor_spawn(void); void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx); void rb_yjit_tracing_invalidate_all(void); void rb_yjit_show_usage(int help, int highlight, unsigned int width, int columns); #else // !USE_YJIT @@ -66,6 +67,7 @@ static inline void rb_yjit_iseq_free(void *payload) {} static inline void rb_yjit_before_ractor_spawn(void) {} static inline void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx) {} static inline void rb_yjit_tracing_invalidate_all(void) {} #endif // #if USE_YJIT |