YJIT: Propagate Array, Hash, and String classes (#10323)

This commit is contained in:
Takashi Kokubun 2024-03-25 09:06:47 -07:00 committed by GitHub
parent a08954569f
commit 46bf6ae886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 168 additions and 37 deletions

2
yjit.h
View file

@ -46,6 +46,7 @@ void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned ins
void rb_yjit_tracing_invalidate_all(void);
void rb_yjit_show_usage(int help, int highlight, unsigned int width, int columns);
void rb_yjit_lazy_push_frame(const VALUE *pc);
void rb_yjit_invalidate_no_singleton_class(VALUE klass);
#else
// !USE_YJIT
@ -68,6 +69,7 @@ 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) {}
static inline void rb_yjit_lazy_push_frame(const VALUE *pc) {}
static inline void rb_yjit_invalidate_no_singleton_class(VALUE klass) {}
#endif // #if USE_YJIT