Skip to content

Commit 9e92f5e

Browse files
authored
fix a wamrc debug mode compile issue (#4470)
1 parent 334b4f8 commit 9e92f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/compilation/aot_emit_aot_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ aot_emit_init_expr(uint8 *buf, uint8 *buf_end, uint32 *p_offset,
19051905
{
19061906
WASMArrayType *array_type = NULL;
19071907

1908-
bh_assert(expr->u.array_new_default.type_index
1908+
bh_assert(expr->u.unary.v.array_new_default.type_index
19091909
< module->type_count);
19101910
array_type =
19111911
(WASMArrayType *)

0 commit comments

Comments
 (0)