mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Track interpreter return as an exit reason for leave instr
This commit is contained in:
parent
0e5c3d66b8
commit
fe784d1449
2 changed files with 2 additions and 0 deletions
|
@ -1874,6 +1874,7 @@ gen_leave(jitstate_t* jit, ctx_t* ctx)
|
|||
// Fall back to the interpreter
|
||||
cb_write_label(cb, FALLBACK_LABEL);
|
||||
cb_link_labels(cb);
|
||||
GEN_COUNTER_INC(cb, leave_interp_return);
|
||||
cb_write_post_call_bytes(cb);
|
||||
|
||||
return YJIT_END_BLOCK;
|
||||
|
|
|
@ -46,6 +46,7 @@ YJIT_DECLARE_COUNTERS(
|
|||
|
||||
leave_se_finish_frame,
|
||||
leave_se_interrupt,
|
||||
leave_interp_return,
|
||||
|
||||
getivar_se_self_not_heap,
|
||||
getivar_idx_out_of_range,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue