diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-08-15 11:09:13 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-08-18 09:35:05 -0400 |
| commit | 70378db2fff0b1bc39a7d2b011da90486579fb0e (patch) | |
| tree | 20c0d2e13e636e9eff724d7b0c945e5f407e3d25 | |
| parent | 7ddc53bc0c57b1c079e40a74d233f537111b3e92 (diff) | |
Remove impossible case in rb_raw_obj_info_buitin_type for array
Since we handle embedded arrays in the if statement above, we don't need
to handle it here.
| -rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4709,7 +4709,7 @@ rb_raw_obj_info_buitin_type(char *const buff, const size_t buff_size, const VALU C(ARY_EMBED_P(obj), "E"), C(ARY_SHARED_P(obj), "S"), RARRAY_LEN(obj), - ARY_EMBED_P(obj) ? -1L : RARRAY(obj)->as.heap.aux.capa, + RARRAY(obj)->as.heap.aux.capa, (void *)RARRAY_CONST_PTR(obj)); } break; |
