mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
add a callback for when method cache changes
This commit is contained in:
parent
d2d564be1d
commit
ab5760307b
3 changed files with 9 additions and 0 deletions
|
@ -141,6 +141,7 @@ vm_cme_invalidate(rb_callable_method_entry_t *cme)
|
|||
void
|
||||
rb_clear_constant_cache(void)
|
||||
{
|
||||
rb_ujit_constant_state_changed();
|
||||
INC_GLOBAL_CONSTANT_STATE();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue