diff options
| author | Koichi Sasada <ko1@atdot.net> | 2025-10-22 05:10:15 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2025-10-23 13:08:26 +0900 |
| commit | 3b190855ba965c179693a5baf25f365d9d445c09 (patch) | |
| tree | de7dd67c6eea5c56f6abca775ee05862c3fd8e62 | |
| parent | a177799807006b15341aa87b4f0ad9bb26c6b89c (diff) | |
skip jit payload
They should be checked, but not sure JIT code...
| -rw-r--r-- | iseq.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -412,12 +412,15 @@ rb_iseq_mark_and_move(rb_iseq_t *iseq, bool reference_updating) #endif } else { + // TODO: check jit payload + if (!rb_gc_checking_shareable()) { #if USE_YJIT - rb_yjit_iseq_mark(body->yjit_payload); + rb_yjit_iseq_mark(body->yjit_payload); #endif #if USE_ZJIT - rb_zjit_iseq_mark(body->zjit_payload); + rb_zjit_iseq_mark(body->zjit_payload); #endif + } } } |
