Enlarge operand stack size for spec cases

This commit is contained in:
Wenyong Huang 2022-06-28 22:41:40 +08:00
parent 8f9e65e53d
commit c938a9ad55

View File

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