diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-06-04 11:38:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-06-04 11:38:45 +0900 |
commit | 0ecb6896172469c273b2db5c16b0025ae97f16a0 (patch) | |
tree | 3a1fbb5d3a20c708a07cd679838526cadde0a937 | |
parent | 553753cd3eaece627e31c987067edbf241d6c28b (diff) |
Correct comments for packed shape and index [ci skip]
-rw-r--r-- | vm_callinfo.h | 2 | ||||
-rw-r--r-- | vm_core.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h index d4dc3b655e..0b224a3367 100644 --- a/vm_callinfo.h +++ b/vm_callinfo.h @@ -289,7 +289,7 @@ struct rb_callcache { union { struct { - uint64_t value; // Shape ID in upper bits, index in lower bits + uint64_t value; // Shape ID in former half, index in latter half } attr; const enum method_missing_reason method_missing_reason; /* used by method_missing */ VALUE v; @@ -288,7 +288,7 @@ struct iseq_inline_constant_cache { }; struct iseq_inline_iv_cache_entry { - uint64_t value; // attr_index in lower bits, dest_shape_id in upper bits + uint64_t value; // dest_shape_id in former half, attr_index in latter half ID iv_set_name; }; |