From 839e57a220547738dc2c1fd2249c8fe8627c7337 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 4 Apr 2022 19:55:40 +0800 Subject: [PATCH] fix some typos (#316) Signed-off-by: cuishuang --- source/m3_env.c | 2 +- source/m3_parse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/m3_env.c b/source/m3_env.c index 6b043cc..2bb8657 100644 --- a/source/m3_env.c +++ b/source/m3_env.c @@ -411,7 +411,7 @@ M3Result InitGlobals (IM3Module io_module) if (io_module->numGlobals) { // placing the globals in their structs isn't good for cache locality, but i don't really know what the global - // access patterns typcially look like yet. + // access patterns typically look like yet. // io_module->globalMemory = m3Alloc (m3reg_t, io_module->numGlobals); diff --git a/source/m3_parse.c b/source/m3_parse.c index 03354d7..edf426c 100644 --- a/source/m3_parse.c +++ b/source/m3_parse.c @@ -99,7 +99,7 @@ _ (NormalizeType (& retType, wasmType)); Environment_AddFuncType (io_module->environment, & ftype); io_module->funcTypes [i] = ftype; - ftype = NULL; // ownership transfered to environment + ftype = NULL; // ownership transferred to environment } }