diff --git a/core/iwasm/aot/aot_runtime.c b/core/iwasm/aot/aot_runtime.c index 5606fe17f..6cdc63721 100644 --- a/core/iwasm/aot/aot_runtime.c +++ b/core/iwasm/aot/aot_runtime.c @@ -1730,9 +1730,8 @@ aot_instantiate(AOTModule *module, AOTModuleInstance *parent, wasm_runtime_get_table_inst_elem_type( (WASMModuleInstanceCommon *)module_inst, - table_init_data->table_index, - &tbl_elem_type, - &tbl_elem_ref_type, &tbl_init_size, &tbl_max_size); + table_init_data->table_index, &tbl_elem_type, &tbl_elem_ref_type, + &tbl_init_size, &tbl_max_size); if (!wasm_elem_is_declarative(table_init_data->mode) && !wasm_reftype_is_subtype_of(