diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-08 23:14:33 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-08 23:24:38 -0800 |
commit | f5909ac6d962acf1eb2736a66316c74693e63a2f (patch) | |
tree | dc83934955383100fab09eca212b9b4f1872c11d /vm_method.c | |
parent | a0918a4a80226700ee7c8ea27b30b87f86e5a25d (diff) |
RJIT: Stop allowing leaked globals rjit_*
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index c8979c4f1d..df22e735aa 100644 --- a/vm_method.c +++ b/vm_method.c @@ -204,7 +204,7 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid) if (rb_yjit_enabled_p() && rb_id_table_lookup(cm_tbl, mid, &cme)) { rb_yjit_cme_invalidate((rb_callable_method_entry_t *)cme); } - if (rjit_enabled && rb_id_table_lookup(cm_tbl, mid, &cme)) { + if (rb_rjit_enabled && rb_id_table_lookup(cm_tbl, mid, &cme)) { rb_rjit_cme_invalidate((rb_callable_method_entry_t *)cme); } rb_id_table_delete(cm_tbl, mid); |