fix a wamrc debug mode compile issue (#4470)

This commit is contained in:
Zhenwei Jin 2025-07-10 08:29:31 +08:00 committed by GitHub
parent 334b4f8cb5
commit 9e92f5ebe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 *)