8000 Remove duplicated assignment of LLVMJitHandle->lljit · postgrespro/postgres@ccfca8e · GitHub
[go: up one dir, main page]

Skip to content
  • Commit ccfca8e

    Browse files
    committed
    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
    1 parent fd48a86 commit ccfca8e

    File tree

    1 file changed

    +0
    -2
    lines changed

    1 file changed

    +0
    -2
    lines changed

    src/backend/jit/llvm/llvmjit.c

    Lines changed: 0 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -722,8 +722,6 @@ llvm_compile_module(LLVMJitContext *context)
    722722
    elog(ERROR, "failed to JIT module: %s",
    723723
    llvm_error_message(error));
    724724

    725-
    handle->lljit = compile_orc;
    726-
    727725
    /* LLVMOrcLLJITAddLLVMIRModuleWithRT takes ownership of the module */
    728726
    }
    729727
    #elif LLVM_VERSION_MAJOR > 6

    0 commit comments

    Comments
     (0)
    0