Add pg_attribute_always_inline.

Sometimes it is useful to be able to insist that the compiler inline a
function that its normal cost analysis would not normally choose to inline.
This can be useful for instantiating different variants of a function that
remove branches of code by constant folding.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: 
https://postgr.es/m/CAEepm=09rr65VN+cAV5FgyM_z=d77xy8fuc9cdddybq3pqu...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dbb3d6f0102e0aca7575ff864450fca57ac85517

Modified Files
--------------
src/include/c.h | 10 ++++++++++
1 file changed, 10 insertions(+)

Reply via email to