summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-07-15 14:57:27 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commit1943b27fe9f7ad237a1c5119550d2d71958cf4cd (patch)
tree255df9aae47b2052fb35686d690d6b01960d29c2 /yjit.rb
parent84920fe8eeab41d44dbe3c6b8ca076471694c3be (diff)
Update yjit.rb
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index 6c4d6de347..0a44e2bfab 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -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"
>* insns.def (send, invokesuper, invokeblock, opt_*), vm_core.h:ko1 2012-10-09* vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.ko1 2012-10-08* eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,shugo 2012-10-04* vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysisko1 2012-09-26* insns.def: add new instruction `opt_empty_p' for optimize `empty?'ko1 2012-08-23* include/ruby/ruby.h: introduce flonum technique forko1 2012-08-02* eval.c (rb_mod_using): new method Module#using. [experimental]shugo 2012-08-02* class.c, insns.def, method.h, proc.c, vm.c, vm_core.h, vm_eval.c,shugo 2012-06-11* vm_core.h: remove lfp (local frame pointer) and renameko1 2012-06-04* vm_insnhelper.h: remove magical code "lfp[0] & 0x02".ko1 2011-10-06fix typoskazu 2011-10-06* vm_eval.c (make_no_method_execption): extract fromnobu 2011-08-24* vm_insnhelper.h, vm_insnhelper.c, vm.c, vm_method.c, insns.def:ko1 2011-06-13* vm_core.h, vm_insnhelper.h: move decl. ofko1 2011-03-30* vm_insnhelper.h (COPY_CREF): should copyshugo 2011-01-24* vm_insnhelper.h: parenthesize macro arguments.akr