mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Remove duplicated assignment of LLVMJitHandle->lljit
This duplicated assignment when emiting some code not yet compiled.
Oversight in 6c57f2e
.
Author: Matheus Alcantara
Reviewed-by: Gurjeet Singh
Discussion: https://postgr.es/m/La1Tfi7wirg9uGbCx_y7Qb9kl2T15mYouDXjCKAFuDqzQWnTRwH7KNLGigLLcxRs91V6dp2ySs1j_7mB4btzEZJ9NIMEAyOjUyAS7Jx-ydQ=@pm.me
This commit is contained in:
@ -722,8 +722,6 @@ llvm_compile_module(LLVMJitContext *context)
|
|||||||
elog(ERROR, "failed to JIT module: %s",
|
elog(ERROR, "failed to JIT module: %s",
|
||||||
llvm_error_message(error));
|
llvm_error_message(error));
|
||||||
|
|
||||||
handle->lljit = compile_orc;
|
|
||||||
|
|
||||||
/* LLVMOrcLLJITAddLLVMIRModuleWithRT takes ownership of the module */
|
/* LLVMOrcLLJITAddLLVMIRModuleWithRT takes ownership of the module */
|
||||||
}
|
}
|
||||||
#elif LLVM_VERSION_MAJOR > 6
|
#elif LLVM_VERSION_MAJOR > 6
|
||||||
|
Reference in New Issue
Block a user