diff options
author | Takashi Kokubun <[email protected]> | 2023-03-12 13:31:00 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-12 13:31:15 -0700 |
commit | bbd9221e46649cc0d620efe4542bb93ff89fcb47 (patch) | |
tree | 6c32bae55e3b1184769ddd94d877a2ca233a6758 /lib/ruby_vm/rjit/exit_compiler.rb | |
parent | 7ce4b716bdb5bcfc8b30ffcd034ce7aded1f72b9 (diff) |
RJIT: Give up freezing InsnCompiler
for memoization
Diffstat (limited to 'lib/ruby_vm/rjit/exit_compiler.rb')
-rw-r--r-- | lib/ruby_vm/rjit/exit_compiler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ruby_vm/rjit/exit_compiler.rb b/lib/ruby_vm/rjit/exit_compiler.rb index 59df9b564c..c082cc3660 100644 --- a/lib/ruby_vm/rjit/exit_compiler.rb +++ b/lib/ruby_vm/rjit/exit_compiler.rb @@ -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] |