Update spec cases to latest version (#1253)

Update spec cases of mvp/threads to latest version, update wabt
to 1.0.29. And enhance the wasm loader.
This commit is contained in:
Wenyong Huang
2022-06-28 16:05:16 +08:00
committed by GitHub
parent 5e238322c2
commit 625d59191d
4 changed files with 60 additions and 43 deletions

View File

@ -1491,8 +1491,8 @@ wasm_instantiate(WASMModule *module, bool is_sub_inst, uint32 stack_size,
if (stack_size == 0)
stack_size = DEFAULT_WASM_STACK_SIZE;
#if WASM_ENABLE_SPEC_TEST != 0
if (stack_size < 48 * 1024)
stack_size = 48 * 1024;
if (stack_size < 128 * 1024)
stack_size = 128 * 1024;
#endif
module_inst->default_wasm_stack_size = stack_size;