YJIT: add counter for untracked gbpp exit reason (#8052)
This commit is contained in:
parent
1b01140d8a
commit
e770006486
Notes:
git
2023-07-11 14:18:08 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
@ -7649,6 +7649,7 @@ fn gen_getblockparamproxy(
|
||||
// When a block handler is present, it should always be a GC-guarded
|
||||
// pointer (VM_BH_ISEQ_BLOCK_P)
|
||||
if comptime_handler.as_u64() != 0 && comptime_handler.as_u64() & 0x3 != 0x1 {
|
||||
incr_counter!(gbpp_not_gc_guarded);
|
||||
return None;
|
||||
}
|
||||
|
||||
|
@ -354,6 +354,7 @@ make_counters! {
|
||||
expandarray_rhs_too_small,
|
||||
|
||||
gbp_wb_required,
|
||||
gbpp_not_gc_guarded,
|
||||
gbpp_block_param_modified,
|
||||
gbpp_block_handler_not_none,
|
||||
gbpp_block_handler_not_iseq,
|
||||
|
Loading…
x
Reference in New Issue
Block a user