1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

_mjit_compile_pc_and_sp.erb: update the comment

about the pc motion reason

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-08-11 05:37:17 +00:00
parent d5e27d7a5a
commit c9a30858fc

View file

@ -5,8 +5,7 @@
% # 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