diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2021-02-03 15:09:34 -0800 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:28 -0400 |
commit | ab5760307b730f3b418b3eae016c442ca4f57d14 (patch) | |
tree | 46dec7bc70cdd91888d03964686383e8a426620c /vm_method.c | |
parent | d2d564be1db247f21e15c847584b0ec2cae4428d (diff) |
add a callback for when method cache changes
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c index 544abca753..08c8013010 100644 --- a/vm_method.c +++ b/vm_method.c @@ -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(); } |