mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ignore catch_except_p for PC motion
We probably don't need to move it when an insn is leaf...
This commit is contained in:
parent
a09c3c6fe1
commit
3b4d698e0b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
%
|
||||
% # JIT: Move pc for catch table on catch_except_p, and for #caller_locations and rb_profile_frames on !insn.always_leaf?
|
||||
MAYBE_UNUSED(bool pc_moved_p) = false;
|
||||
if (body->catch_except_p || <%= insn.always_leaf? ? 'FALSE' : 'TRUE' %>) {
|
||||
if (<%= insn.always_leaf? ? 'false' : 'true' %>) {
|
||||
fprintf(f, " reg_cfp->pc = original_body_iseq + %d;\n", next_pos); /* ADD_PC(INSN_ATTR(width)); */
|
||||
pc_moved_p = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue