Commit 98607087 authored by Andres Freund's avatar Andres Freund

Remove duplicated return statement from llvmjit code.

The duplicated return clearly doesn't make sense / isn't
reachable. Likely introduced by me (Andres), while revising the code.

Author: Rushabh Lathia
Discussion: https://postgr.es/m/CAGPqQf2raxWOcbuTP36M1rEF3=Rfo7oD29K3psdyHMeE5swBRg@mail.gmail.com
parent 0fcf5e0e
...@@ -394,7 +394,6 @@ llvm_function_reference(LLVMJitContext *context, ...@@ -394,7 +394,6 @@ llvm_function_reference(LLVMJitContext *context,
LLVMSetGlobalConstant(v_fn, true); LLVMSetGlobalConstant(v_fn, true);
return LLVMBuildLoad(builder, v_fn, ""); return LLVMBuildLoad(builder, v_fn, "");
return v_fn;
} }
/* check if function already has been added */ /* check if function already has been added */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment