RJIT: Give up freezing InsnCompiler

for memoization
This commit is contained in:
Takashi Kokubun 2023-03-12 13:31:00 -07:00
parent 7ce4b716bd
commit bbd9221e46
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,7 @@
module RubyVM::RJIT
class ExitCompiler
def initialize = freeze
# Used for invalidating a block on entry.
# @param pc [Integer]
# @param asm [RubyVM::RJIT::Assembler]

View File

@ -8,7 +8,6 @@ module RubyVM::RJIT
@cfunc_codegen_table = {}
register_cfunc_codegen_funcs
# freeze # workaround a binding.irb issue. TODO: resurrect this
end
# @param jit [RubyVM::RJIT::JITState]