Explorar el Código

Fix a typo in is_win_platform (#2490)

Huang Qi hace 2 años
padre
commit
051dfbbb9e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/iwasm/compilation/aot_emit_function.c

+ 1 - 1
core/iwasm/compilation/aot_emit_function.c

@@ -23,7 +23,7 @@ is_win_platform(AOTCompContext *comp_ctx)
 {
     char *triple = LLVMGetTargetMachineTriple(comp_ctx->target_machine);
 
-    bh_assert(trip);
+    bh_assert(triple);
     if (strstr(triple, "win32") || strstr(triple, "win"))
         return true;
     return false;