Skip to content

Commit 2cf48c8

Browse files
authored
Fix typos in wamrc and wasm_export.h (#3609)
1 parent fc34151 commit 2cf48c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/iwasm/include/wasm_export.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ wasm_runtime_validate_native_addr(wasm_module_inst_t module_inst,
12271227
void *native_ptr, uint64_t size);
12281228

12291229
/**
1230-
* Convert app address(relative address) to native address(absolute address)
1230+
* Convert app address (relative address) to native address (absolute address)
12311231
*
12321232
* Note that native addresses to module instance memory can be invalidated
12331233
* 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,
12431243
uint64_t app_offset);
12441244

12451245
/**
1246-
* Convert native address(absolute address) to app address(relative address)
1246+
* Convert native address (absolute address) to app address (relative address)
12471247
*
12481248
* @param module_inst the WASM module instance
12491249
* @param native_ptr the native address

wamr-compiler/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ print_help()
160160
printf(" --enable-dump-call-stack Enable stack trace feature\n");
161161
printf(" --enable-perf-profiling Enable function performance profiling\n");
162162
printf(" --enable-memory-profiling Enable memory usage profiling\n");
163-
printf(" --xip A shorthand of --enalbe-indirect-mode --disable-llvm-intrinsics\n");
164-
printf(" --enable-indirect-mode Enalbe call function through symbol table but not direct call\n");
165-
printf(" --enable-gc Enalbe GC (Garbage Collection) feature\n");
163+
printf(" --xip A shorthand of --enable-indirect-mode --disable-llvm-intrinsics\n");
164+
printf(" --enable-indirect-mode Enable call function through symbol table but not direct call\n");
165+
printf(" --enable-gc Enable GC (Garbage Collection) feature\n");
166166
printf(" --disable-llvm-intrinsics Disable the LLVM built-in intrinsics\n");
167167
printf(" --enable-builtin-intrinsics=<flags>\n");
168168
printf(" Enable the specified built-in intrinsics, it will override the default\n");

0 commit comments

Comments
 (0)