Fix compilation errors (#3549)

The compilation errors were introduced by #3515 and occur in debug building
when wasm mini loader is compiled or GC is enabled.

And remove two wasm files in standalone test-running-modes case,
which will be generated by run.sh.
This commit is contained in:
Wenyong Huang
2024-06-20 12:33:52 +08:00
committed by GitHub
parent 0418041b0d
commit 9b9e938bee
4 changed files with 3 additions and 3 deletions

View File

@ -684,7 +684,7 @@ load_table_import(const uint8 **p_buf, const uint8 *buf_end,
read_leb_uint32(p, p_end, declare_init_size);
if (declare_max_size_flag & 1) {
read_leb_uint32(p, p_end, declare_max_size);
bh_assert(table->init_size <= table->max_size);
bh_assert(table->table_type.init_size <= table->table_type.max_size);
}
adjust_table_max_size(declare_init_size, declare_max_size_flag,