Fix several issues found (#1996)
- CMakeLists.txt: add lib_export.h to install list
- Fast JIT: enlarge spill cache size to enable several standalone cases
when hw bound check is disabled
- Thread manager: wasm_cluster_exit_thread may destroy an invalid
exec_env->module_inst when exec_env was destroyed before
- samples/socket-api: fix failure to run timeout_client.wasm
- enhance CI build wasi-libc and sample/wasm-c-api-imports CMakeLlist.txt
This commit is contained in:
@ -841,7 +841,7 @@ init_func_translation(JitCompContext *cc)
|
||||
cc->spill_cache_offset = wasm_interp_interp_frame_size(total_cell_num);
|
||||
/* Set spill cache size according to max local cell num, max stack cell
|
||||
num and virtual fixed register num */
|
||||
cc->spill_cache_size = (max_locals + max_stacks) * 4 + sizeof(void *) * 5;
|
||||
cc->spill_cache_size = (max_locals + max_stacks) * 4 + sizeof(void *) * 16;
|
||||
cc->total_frame_size = cc->spill_cache_offset + cc->spill_cache_size;
|
||||
cc->jitted_return_address_offset =
|
||||
offsetof(WASMInterpFrame, jitted_return_addr);
|
||||
|
||||
Reference in New Issue
Block a user