jit: Reference functions by name in IOCOERCE steps.
authorAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:09:06 +0000 (19:09 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:54:43 +0000 (19:54 -0800)
commit8c2769405ff1f4617b0d3af50760b1ee357733ef
tree53e5e115d5609edd11d0a7bf692e81b0af7f2b99
parent1fdb7f9789c4550204cd62d1746a7deed1dc4c29
jit: Reference functions by name in IOCOERCE steps.

Previously we used constant function pointer addresses, which prevents
inlining and other related optimizations.

Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de
src/backend/jit/llvm/llvmjit_expr.c