Fix wamrc build error with llvm-14 (#1140)

Fix aot compiler compilation errors when the llvm version is 14.0,
and clear one compilation warning of thread_manager.c.
This commit is contained in:
Wenyong Huang
2022-05-03 09:12:03 +08:00
committed by GitHub
parent c6997aa68a
commit 749f2f1f34
2 changed files with 32 additions and 1 deletions

View File

@ -808,7 +808,6 @@ wait_for_thread_visitor(void *node, void *user_data)
{
WASMExecEnv *curr_exec_env = (WASMExecEnv *)node;
WASMExecEnv *exec_env = (WASMExecEnv *)user_data;
korp_tid handle;
if (curr_exec_env == exec_env)
return;