diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-03-17 19:07:20 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:32 -0400 |
commit | ec1cbbb07d00828e6265074ca4977a8dae6b8b29 (patch) | |
tree | cbc4a1cb075eb4e237dd3039c42d1b9a159d82ce /yjit_core.h | |
parent | 0cd9120f177b153126a093e4beabb5784cd0ab99 (diff) |
Get rid of dependency on rb_call_cache
Diffstat (limited to 'yjit_core.h')
-rw-r--r-- | yjit_core.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/yjit_core.h b/yjit_core.h index c9a2c5c888..1467395210 100644 --- a/yjit_core.h +++ b/yjit_core.h @@ -127,11 +127,10 @@ typedef struct yjit_block_version // Offsets for GC managed objects in the mainline code block int32_array_t gc_object_offsets; - // GC managed objects that this block depend on - struct { - VALUE cc; - VALUE cme; - } dependencies; + // In case this block is invalidated, these two pieces of info + // help to remove all pointers to this block in the system. + VALUE receiver_klass; + VALUE callee_cme; // Index one past the last instruction in the iseq uint32_t end_idx; |