summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h9
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;