You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write JITFrame pointer for C frames, skip iseq/block_code writes
Instead of writing 3 fields to C frames (jit_return=0, iseq=0,
block_code=0), write a single JITFrame pointer with {pc=NULL,
iseq=NULL, materialize_block_code=true}. This eliminates 2 memory
writes per C method call.
Add rb_zjit_cfp_has_iseq() and rb_zjit_cfp_has_pc() helpers that
check JITFrame first when present, since cfp->iseq and cfp->pc may
be stale for frames with JITFrame. Replace all cfp->iseq ||
CFP_JIT_RETURN(cfp) and cfp->pc || CFP_JIT_RETURN(cfp) patterns
with the new helpers.
0 commit comments