mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: Propagate Array, Hash, and String classes (#10323)
This commit is contained in:
parent
a08954569f
commit
46bf6ae886
8 changed files with 168 additions and 37 deletions
2
yjit.h
2
yjit.h
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue