summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-09-08 19:17:19 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-09-09 20:07:10 +0200
commit82d62d4bea9194e400661c3f33b5ddb42684df86 (patch)
tree342f0812149cd7335ab7c44b4326bb84f3de4c38
parent9e3a16220c33201229ad6ec99bf179c7c41d2f58 (diff)
Remove unused fields from iseq_inline_constant_cache_entry
-rw-r--r--vm_core.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vm_core.h b/vm_core.h
index 9986d3e923..1d02298c6c 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -261,10 +261,8 @@ union ic_serial_entry {
struct iseq_inline_constant_cache_entry {
VALUE flags;
- VALUE value; // v0
- VALUE _unused1; // v1
- VALUE _unused2; // v2
- const rb_cref_t *ic_cref; // v3
+ VALUE value;
+ const rb_cref_t *ic_cref;
};
STATIC_ASSERT(sizeof_iseq_inline_constant_cache_entry,
(offsetof(struct iseq_inline_constant_cache_entry, ic_cref) +