Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd48a86
)
Remove duplicated assignment of LLVMJitHandle->lljit
author
Michael Paquier
<michael@paquier.xyz>
Thu, 13 Jul 2023 07:44:17 +0000
(16:44 +0900)
committer
Michael Paquier
<michael@paquier.xyz>
Thu, 13 Jul 2023 07:44:17 +0000
(16:44 +0900)
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
src/backend/jit/llvm/llvmjit.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/jit/llvm/llvmjit.c
b/src/backend/jit/llvm/llvmjit.c
index 5c30494fa17124527cf241da9b39b2f8edfa21c8..09650e2c70aa24f2aa22b6314ab8bfc7a76a5384 100644
(file)
--- 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