10000 `struct iseq_catch_table` is packed · jeremyevans/ruby@ef2b26c · GitHub
[go: up one dir, main page]

Skip to content

Commit ef2b26c

Browse files
committed
struct iseq_catch_table is packed
1 parent 912edb4 commit ef2b26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13307,7 +13307,7 @@ ibf_load_catch_table(const struct ibf_load *load, ibf_offset_t catch_table_offse
1330713307
table->entries[i].sp = (unsigned int)ibf_load_small_value(load, &reading_pos);
1330813308

1330913309
rb_iseq_t *catch_iseq = (rb_iseq_t *)ibf_load_iseq(load, (const rb_iseq_t *)(VALUE)iseq_index);
13310-
RB_OBJ_WRITE(parent_iseq, &table->entries[i].iseq, catch_iseq);
13310+
RB_OBJ_WRITE(parent_iseq, UNALIGNED_MEMBER_PTR(&table->entries[i], iseq), catch_iseq);
1331113311
}
1331213312
return table;
1331313313
}

0 commit comments

Comments
 (0)
0