Fix several typos and fix bh_log calculate mills (#3441)

This commit is contained in:
TianlongLiang
2024-05-20 15:54:01 +08:00
committed by GitHub
parent 0ceffe74a7
commit 30ed97cddc
3 changed files with 7 additions and 8 deletions

View File

@ -1204,7 +1204,7 @@ create_memory_info(const AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
func_ctx->mem_space_unchanged = mem_space_unchanged;
memory_count = module->memory_count + module->import_memory_count;
/* If the module dosen't have memory, reserve
/* If the module doesn't have memory, reserve
one mem_info space with empty content */
if (memory_count == 0)
memory_count = 1;