8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d785da1 + 33e2fa4 commit 5ead1aeCopy full SHA for 5ead1ae
yjit.rb
@@ -63,7 +63,7 @@ def self.graphviz_for(iseq)
63
highlight = ->(comment) { "<b>#{comment}</b>" }
64
linebreak = "<br align=\"left\"/>\n"
65
66
- buff = ''
+ buff = +''
67
blocks = blocks_for(iseq).sort_by(&:id)
68
buff << "digraph g {\n"
69
@@ -103,7 +103,7 @@ def self.graphviz_for(iseq)
103
def self.disasm_block(cs, block, highlight)
104
comments = comments_for(block.address, block.address + block.code.length)
105
comment_idx = 0
106
- str = ''
+ str = +''
107
cs.disasm(block.code, block.address).each do |i|
108
while (comment = comments[comment_idx]) && comment.address <= i.address
109
str << " ; #{highlight.call(comment.comment)}\n"
0 commit comments