git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 62ee703) | patch
jit: Reference function pointer types via llvmjit_types.c.
Mon, 7 Dec 2020 21:16:55 +0000 (13:16 -0800)
Wed, 9 Dec 2020 00:55:20 +0000 (16:55 -0800)
commit df99ddc70b971a991c5111a33f2f08bd7945d5c2
jit: Reference function pointer types via llvmjit_types.c.

It is error prone (see 5da871bfa1b) and verbose to manually create function
types. Add a helper that can reference a function pointer type via
llvmjit_types.c and and convert existing instances of manual creation.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20201207212142.wz5tnbk2jsaqzogb@alap3.anarazel.de
src/backend/jit/llvm/llvmjit.c diff | blob | blame | history
src/backend/jit/llvm/llvmjit_expr.c diff | blob | blame | history
src/backend/jit/llvm/llvmjit_types.c diff | blob | blame | history
src/include/jit/llvmjit.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /