summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/insn_compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-01 21:32:36 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 23:28:59 -0800
commit7dcdffebc8da9319bc2a0a2e0d9e90fdc140d79c (patch)
treee5986e96dd8f637cf27e16d14e8773103838bc60 /lib/ruby_vm/mjit/insn_compiler.rb
parentb5fbc9f59f760f5faaca82c5b2bc869a6f38ade5 (diff)
Invalidate blocks on global constant changes
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7448
Diffstat (limited to 'lib/ruby_vm/mjit/insn_compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/insn_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/mjit/insn_compiler.rb b/lib/ruby_vm/mjit/insn_compiler.rb
index e3dff5e86c..756e04df4c 100644
--- a/lib/ruby_vm/mjit/insn_compiler.rb
+++ b/lib/ruby_vm/mjit/insn_compiler.rb
@@ -249,7 +249,7 @@ module RubyVM::MJIT
# Invalidate output code on any constant writes associated with
# constants referenced within the current block.
- #assume_stable_constant_names(jit, ocb, idlist);
+ Invariants.assume_stable_constant_names(jit, idlist)
putobject(jit, ctx, asm, val: ice.value)
end