RJIT: Give up freezing InsnCompiler
for memoization
This commit is contained in:
parent
7ce4b716bd
commit
bbd9221e46
@ -1,5 +1,7 @@
|
|||||||
module RubyVM::RJIT
|
module RubyVM::RJIT
|
||||||
class ExitCompiler
|
class ExitCompiler
|
||||||
|
def initialize = freeze
|
||||||
|
|
||||||
# Used for invalidating a block on entry.
|
# Used for invalidating a block on entry.
|
||||||
# @param pc [Integer]
|
# @param pc [Integer]
|
||||||
# @param asm [RubyVM::RJIT::Assembler]
|
# @param asm [RubyVM::RJIT::Assembler]
|
||||||
|
@ -8,7 +8,6 @@ module RubyVM::RJIT
|
|||||||
|
|
||||||
@cfunc_codegen_table = {}
|
@cfunc_codegen_table = {}
|
||||||
register_cfunc_codegen_funcs
|
register_cfunc_codegen_funcs
|
||||||
# freeze # workaround a binding.irb issue. TODO: resurrect this
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# @param jit [RubyVM::RJIT::JITState]
|
# @param jit [RubyVM::RJIT::JITState]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user