fix error

This commit is contained in:
Xu Jun 2022-06-15 17:18:02 +08:00
parent 8266d15dea
commit 4ea0fe04e2
2 changed files with 1 additions and 3 deletions

View File

@ -12,9 +12,6 @@
#include "../compilation/aot.h" #include "../compilation/aot.h"
#if WASM_ENABLE_JIT != 0 #if WASM_ENABLE_JIT != 0
#include "../compilation/aot_llvm.h" #include "../compilation/aot_llvm.h"
#endif
#if (WASM_ENABLE_JIT != 0)
#include "../interpreter/wasm_loader.h" #include "../interpreter/wasm_loader.h"
#endif #endif

View File

@ -6503,6 +6503,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name,
return false; return false;
} }
#endif
static bool static bool
wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func, wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func,