summaryrefslogtreecommitdiff
path: root/yjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-03-25 09:06:47 -0700
committerGitHub <[email protected]>2024-03-25 12:06:47 -0400
commit46bf6ae886dc14d5e3a76d53eb4f97375f7c03c5 (patch)
treeb51335cb2728c5c2292dd777cada8932c22531cb /yjit.h
parenta08954569f197312db4d6b217f1b8ba3441fc078 (diff)
YJIT: Propagate Array, Hash, and String classes (#10323)
Diffstat (limited to 'yjit.h')
-rw-r--r--yjit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit.h b/yjit.h
index 46218a47d7..2f5317ad97 100644
--- a/yjit.h
+++ b/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