diff options
Diffstat (limited to 'lib/ruby_vm/rjit/code_block.rb')
-rw-r--r-- | lib/ruby_vm/rjit/code_block.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ruby_vm/rjit/code_block.rb b/lib/ruby_vm/rjit/code_block.rb index 196e42d6a8..6260ec8b4b 100644 --- a/lib/ruby_vm/rjit/code_block.rb +++ b/lib/ruby_vm/rjit/code_block.rb @@ -58,8 +58,8 @@ module RubyVM::RJIT (@mem_block...(@mem_block + @mem_size)).include?(addr) end - def dump_disasm(from, to, io: STDOUT, color: true) - C.dump_disasm(from, to).each do |address, mnemonic, op_str| + def dump_disasm(from, to, io: STDOUT, color: true, test: false) + C.dump_disasm(from, to, test:).each do |address, mnemonic, op_str| @comments.fetch(address, []).each do |comment| io.puts colorize(" # #{comment}", bold: true, color:) end |