Remove unused LLVM JIT wapper functions (#1747)
Only create the necessary wrapper functions for LLVM JIT
This commit is contained in:
@ -1930,8 +1930,8 @@ compile_llvm_jit_functions(WASMModule *module, char *error_buf,
|
||||
if (error != LLVMErrorSuccess) {
|
||||
char *err_msg = LLVMGetErrorMessage(error);
|
||||
char buf[128];
|
||||
snprintf(buf, sizeof(buf), "failed to compile orc jit function: %s",
|
||||
err_msg);
|
||||
snprintf(buf, sizeof(buf),
|
||||
"failed to compile orc jit function: %s\n", err_msg);
|
||||
set_error_buf(error_buf, error_buf_size, buf);
|
||||
LLVMDisposeErrorMessage(err_msg);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user