summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c1
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();
}