From 9e92f5ebe152fef64ff8dff9ff768dc23c2377ff Mon Sep 17 00:00:00 2001 From: Zhenwei Jin <109658203+kylo5aby@users.noreply.github.com> Date: Thu, 10 Jul 2025 08:29:31 +0800 Subject: [PATCH] fix a wamrc debug mode compile issue (#4470) --- core/iwasm/compilation/aot_emit_aot_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/iwasm/compilation/aot_emit_aot_file.c b/core/iwasm/compilation/aot_emit_aot_file.c index db1c04d88..12749305b 100644 --- a/core/iwasm/compilation/aot_emit_aot_file.c +++ b/core/iwasm/compilation/aot_emit_aot_file.c @@ -1905,7 +1905,7 @@ aot_emit_init_expr(uint8 *buf, uint8 *buf_end, uint32 *p_offset, { WASMArrayType *array_type = NULL; - bh_assert(expr->u.array_new_default.type_index + bh_assert(expr->u.unary.v.array_new_default.type_index < module->type_count); array_type = (WASMArrayType *)