diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-06-19 13:17:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-06-19 13:17:23 +0900 |
commit | ef2b26cc3eaed06c5c9d4ef2c6d8669ff357afa4 (patch) | |
tree | e3b198eaf956bb4ba0008282d5fed67d6ff128da | |
parent | 912edb47162626bf039ee649c8a1d05b2d7410ef (diff) |
`struct iseq_catch_table` is packed
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13307,7 +13307,7 @@ ibf_load_catch_table(const struct ibf_load *load, ibf_offset_t catch_table_offse table->entries[i].sp = (unsigned int)ibf_load_small_value(load, &reading_pos); rb_iseq_t *catch_iseq = (rb_iseq_t *)ibf_load_iseq(load, (const rb_iseq_t *)(VALUE)iseq_index); - RB_OBJ_WRITE(parent_iseq, &table->entries[i].iseq, catch_iseq); + RB_OBJ_WRITE(parent_iseq, UNALIGNED_MEMBER_PTR(&table->entries[i], iseq), catch_iseq); } return table; } |