mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Invalidate blocks on global constant changes
This commit is contained in:
parent
b5fbc9f59f
commit
7dcdffebc8
Notes:
git
2023-03-06 07:29:49 +00:00
7 changed files with 88 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue