aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-01 21:32:36 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-05 23:28:59 -0800
commit7dcdffebc8da9319bc2a0a2e0d9e90fdc140d79c (patch)
treee5986e96dd8f637cf27e16d14e8773103838bc60 /vm_method.c
parentb5fbc9f59f760f5faaca82c5b2bc869a6f38ade5 (diff)
downloadruby-7dcdffebc8da9319bc2a0a2e0d9e90fdc140d79c.tar.gz
Invalidate blocks on global constant changes
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 4cb96cc7fd..12947e1aa5 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -150,6 +150,7 @@ rb_clear_constant_cache_for_id(ID id)
}
rb_yjit_constant_state_changed(id);
+ rb_mjit_constant_state_changed(id);
}
static void