summaryrefslogtreecommitdiff
path: root/yjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-15 12:57:43 -0800
committerGitHub <noreply@github.com>2022-11-15 12:57:43 -0800
commit1125274c4e8aeffd8609ced41c05d26d45b9b5ad (patch)
tree03ed20d9e5cc86ced01a4329b330d3ca9a043f81 /yjit.h
parent9751b54971c5ad3bab29ce8af6ec50695aa43251 (diff)
downloadruby-1125274c4e8aeffd8609ced41c05d26d45b9b5ad.tar.gz
YJIT: Invalidate redefined methods only through cme (#6734)
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com> Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Diffstat (limited to 'yjit.h')
-rw-r--r--yjit.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/yjit.h b/yjit.h
index 5f2722639f..707c0f4b9d 100644
--- a/yjit.h
+++ b/yjit.h
@@ -28,7 +28,6 @@
bool rb_yjit_enabled_p(void);
unsigned rb_yjit_call_threshold(void);
void rb_yjit_invalidate_all_method_lookup_assumptions(void);
-void rb_yjit_method_lookup_change(VALUE klass, ID mid);
void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme);
void rb_yjit_collect_vm_usage_insn(int insn);
void rb_yjit_collect_binding_alloc(void);
@@ -51,7 +50,6 @@ void rb_yjit_tracing_invalidate_all(void);
static inline bool rb_yjit_enabled_p(void) { return false; }
static inline unsigned rb_yjit_call_threshold(void) { return UINT_MAX; }
static inline void rb_yjit_invalidate_all_method_lookup_assumptions(void) {}
-static inline void rb_yjit_method_lookup_change(VALUE klass, ID mid) {}
static inline void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme) {}
static inline void rb_yjit_collect_vm_usage_insn(int insn) {}
static inline void rb_yjit_collect_binding_alloc(void) {}