aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-07-13 16:44:17 +0900
committerMichael Paquier <michael@paquier.xyz>2023-07-13 16:44:17 +0900
commitccfca8ea42b8be09a509f68564f6ee13859285b1 (patch)
tree3df8caf6393b2737495e8bb3a477c1d9896cc408
parentfd48a86c6241b994ce67c8b53a918e6b42c8063c (diff)
downloadpostgresql-ccfca8ea42b8be09a509f68564f6ee13859285b1.tar.gz
postgresql-ccfca8ea42b8be09a509f68564f6ee13859285b1.zip
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
-rw-r--r--src/backend/jit/llvm/llvmjit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c
index 5c30494fa17..09650e2c70a 100644
--- a/src/backend/jit/llvm/llvmjit.c
+++ b/src/backend/jit/llvm/llvmjit.c
@@ -722,8 +722,6 @@ llvm_compile_module(LLVMJitContext *context)
elog(ERROR, "failed to JIT module: %s",
llvm_error_message(error));
- handle->lljit = compile_orc;
-
/* LLVMOrcLLJITAddLLVMIRModuleWithRT takes ownership of the module */
}
#elif LLVM_VERSION_MAJOR > 6