summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-11 05:37:17 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-11 05:37:17 +0000
commitc9a30858fcac984f7c49084584f7b18deac32383 (patch)
tree4b9c84a0b62e2edf6c9929f3f1ccdd1a9ef957dc /tool
parentd5e27d7a5a41758af1ef1fe921cd4fa98d361806 (diff)
_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
Diffstat (limited to 'tool')
-rw-r--r--tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb b/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb
index 5ff1c96f8e..5143f7bcb4 100644
--- a/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb
+++ b/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb
@@ -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