diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-02-18 14:45:17 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-05 23:28:59 -0800 |
commit | feb60f6f5107561f2e83e3f53b1db52d2b201708 (patch) | |
tree | 1516b160b90070bed0c8a53248439690d688684e /vm_insnhelper.c | |
parent | 2cc4f506bac0748277b41a4a5eb6f0ec41dd7344 (diff) |
Invalidate blocks on constant IC updates
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7448
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index ea3220fe5d..b2321ed7c8 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -5530,6 +5530,7 @@ vm_ic_update(const rb_iseq_t *iseq, IC ic, VALUE val, const VALUE *reg_ep, const RUBY_ASSERT(pc >= ISEQ_BODY(iseq)->iseq_encoded); unsigned pos = (unsigned)(pc - ISEQ_BODY(iseq)->iseq_encoded); rb_yjit_constant_ic_update(iseq, ic, pos); + rb_mjit_constant_ic_update(iseq, ic, pos); } static VALUE |