mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Correct comments for packed shape and index [ci skip]
This commit is contained in:
parent
553753cd3e
commit
0ecb689617
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue