diff options
author | Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> | 2021-07-15 14:57:27 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | 1943b27fe9f7ad237a1c5119550d2d71958cf4cd (patch) | |
tree | 255df9aae47b2052fb35686d690d6b01960d29c2 /yjit.rb | |
parent | 84920fe8eeab41d44dbe3c6b8ca076471694c3be (diff) |
Update yjit.rb
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ module YJIT def self.disasm_block(cs, block, highlight) comments = comments_for(block.address, block.address + block.code.length) comment_idx = 0 - str = ''.dup + str = +'' cs.disasm(block.code, block.address).each do |i| while (comment = comments[comment_idx]) && comment.address <= i.address str << " ; #{highlight.call(comment.comment)}\n" |