postgresql/src/backend/jit/llvm
Andres Freund b059d2f456 jit: Reference expression step functions via llvmjit_types.
The main benefit of doing so is that this allows llvm to ensure that
types match - previously that'd only be detected by a crash within the
called function. There were a number of cases where we passed a
superfluous parameter...

To avoid needing to add all the functions to llvmjit.{c,h}, instead
get them from the llvm module for llvmjit_types.c. Also use that for
the functions from llvmjit_types already in llvmjit.h.

Author: Soumyadeep Chakraborty and Andres Freund
Discussion: https://postgr.es/m/CADwEdooww3wZv-sXSfatzFRwMuwa186LyTwkBfwEW6NjtooBPA@mail.gmail.com
2020-02-06 22:29:14 -08:00
..
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
llvmjit.c jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
llvmjit_deform.c jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
llvmjit_error.cpp Update copyrights for 2020 2020-01-01 12:21:45 -05:00
llvmjit_expr.c jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
llvmjit_inline.cpp Update copyrights for 2020 2020-01-01 12:21:45 -05:00
llvmjit_types.c jit: Reference expression step functions via llvmjit_types. 2020-02-06 22:29:14 -08:00
llvmjit_wrap.cpp Update copyrights for 2020 2020-01-01 12:21:45 -05:00