ruby-changes:52076
From: k0kubun <ko1@a...>
Date: Sat, 11 Aug 2018 14:37:21 +0900 (JST)
Subject: [ruby-changes:52076] k0kubun:r64284 (trunk): _mjit_compile_pc_and_sp.erb: update the comment
k0kubun 2018-08-11 14:37:17 +0900 (Sat, 11 Aug 2018) New Revision: 64284 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64284 Log: _mjit_compile_pc_and_sp.erb: update the comment about the pc motion reason Modified files: trunk/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb Index: tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb =================================================================== --- tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb (revision 64283) +++ tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb (revision 64284) @@ -5,8 +5,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb#L5 % # conditions mentioned in the file COPYING are met. Consult the file for % # details. % -% # JIT: Move pc so that catch table lookup condition is met. If the ISeq might not catch an exception, -% # the pc motion is optimized away and thus pc should be set properly before `goto cancel`. +% # JIT: Move pc so that catch table lookup condition is met, and for #caller_locations and rb_profile_frames. fprintf(f, " reg_cfp->pc = original_body_iseq + %d;\n", next_pos); /* ADD_PC(INSN_ATTR(width)); */ % % # JIT: move sp to use or preserve stack variables -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/