summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-11-28 14:44:34 +0900
committerdearblue <[email protected]>2020-11-29 13:48:45 +0900
commitb0cea30f3293d0d4d00fee6f8c7a461e64028890 (patch)
treecde11dde7763c0c4b0dae7a5496165b6854b43cb /src/dump.c
parent6d07d9b3d7a64834bda8644ab6c4ed1fabe217a4 (diff)
downloadmruby-b0cea30f3293d0d4d00fee6f8c7a461e64028890.tar.gz
mruby-b0cea30f3293d0d4d00fee6f8c7a461e64028890.zip
Change the catch handler address to 32 bits
Follow commit 7150c6753933f12a2ba63769fb7b3a44cfcddd3d .
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump.c b/src/dump.c
index a79df597b..d6734e9bf 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -277,7 +277,7 @@ write_catch_table_block(mrb_state *mrb, const mrb_irep *irep, uint8_t *buf)
{
uint8_t *cur = buf;
const struct mrb_irep_catch_handler *e = mrb_irep_catch_handler_table(irep);
- mrb_static_assert1(sizeof(*e) == 7);
+ mrb_static_assert1(sizeof(*e) == 13);
if (e == NULL) return 0;
/* irep->clen has already been written before iseq block */