Просмотр исходного кода

Fix typo verify_module in aot_compiler.c (#1836)

tonibofarull 3 лет назад
Родитель
Сommit
ba5cdbee3a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/iwasm/compilation/aot_compiler.c

+ 2 - 2
core/iwasm/compilation/aot_compiler.c

@@ -2597,7 +2597,7 @@ fail:
 }
 }
 
 
 static bool
 static bool
-veriy_module(AOTCompContext *comp_ctx)
+verify_module(AOTCompContext *comp_ctx)
 {
 {
     char *msg = NULL;
     char *msg = NULL;
     bool ret;
     bool ret;
@@ -2697,7 +2697,7 @@ aot_compile_wasm(AOTCompContext *comp_ctx)
        the compilation process */
        the compilation process */
     if (!comp_ctx->is_jit_mode) {
     if (!comp_ctx->is_jit_mode) {
         bh_print_time("Begin to verify LLVM module");
         bh_print_time("Begin to verify LLVM module");
-        if (!veriy_module(comp_ctx)) {
+        if (!verify_module(comp_ctx)) {
             return false;
             return false;
         }
         }
     }
     }