From 2cf48c8b9fbf2cb13b1e47b5b5ff8c63dcd729c5 Mon Sep 17 00:00:00 2001 From: Byeongjee Kang Date: Wed, 10 Jul 2024 00:05:58 -0400 Subject: [PATCH] Fix typos in wamrc and wasm_export.h (#3609) --- core/iwasm/include/wasm_export.h | 4 ++-- wamr-compiler/main.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/iwasm/include/wasm_export.h b/core/iwasm/include/wasm_export.h index 4cdc10e109..72f36b8191 100644 --- a/core/iwasm/include/wasm_export.h +++ b/core/iwasm/include/wasm_export.h @@ -1227,7 +1227,7 @@ wasm_runtime_validate_native_addr(wasm_module_inst_t module_inst, void *native_ptr, uint64_t size); /** - * Convert app address(relative address) to native address(absolute address) + * Convert app address (relative address) to native address (absolute address) * * Note that native addresses to module instance memory can be invalidated * on a memory growth. (Except shared memory, whose native addresses are @@ -1243,7 +1243,7 @@ wasm_runtime_addr_app_to_native(wasm_module_inst_t module_inst, uint64_t app_offset); /** - * Convert native address(absolute address) to app address(relative address) + * Convert native address (absolute address) to app address (relative address) * * @param module_inst the WASM module instance * @param native_ptr the native address diff --git a/wamr-compiler/main.c b/wamr-compiler/main.c index 1044014c0a..ae24ee5bc0 100644 --- a/wamr-compiler/main.c +++ b/wamr-compiler/main.c @@ -160,9 +160,9 @@ print_help() printf(" --enable-dump-call-stack Enable stack trace feature\n"); printf(" --enable-perf-profiling Enable function performance profiling\n"); printf(" --enable-memory-profiling Enable memory usage profiling\n"); - printf(" --xip A shorthand of --enalbe-indirect-mode --disable-llvm-intrinsics\n"); - printf(" --enable-indirect-mode Enalbe call function through symbol table but not direct call\n"); - printf(" --enable-gc Enalbe GC (Garbage Collection) feature\n"); + printf(" --xip A shorthand of --enable-indirect-mode --disable-llvm-intrinsics\n"); + printf(" --enable-indirect-mode Enable call function through symbol table but not direct call\n"); + printf(" --enable-gc Enable GC (Garbage Collection) feature\n"); printf(" --disable-llvm-intrinsics Disable the LLVM built-in intrinsics\n"); printf(" --enable-builtin-intrinsics=\n"); printf(" Enable the specified built-in intrinsics, it will override the default\n");