]> granicus.if.org Git - postgresql/commit
Support inlining various small performance-critical functions on non-GCC
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Feb 2010 02:34:16 +0000 (02:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Feb 2010 02:34:16 +0000 (02:34 +0000)
commite08ab7c3127c10d419e91072c68e1bfeaab025b8
tree8e46dc2510ed865e15b6a56fbf93bdbb10deb07e
parentb95a720a487b5027af1b9e4a12542800598ff5de
Support inlining various small performance-critical functions on non-GCC
compilers, by applying a configure check to see if the compiler will accept
an unreferenced "static inline foo ..." function without warnings.  It is
believed that such warnings are the only reason not to declare inlined
functions in headers, if the compiler understands "inline" at all.

Kurt Harriman
config/c-compiler.m4
configure
configure.in
src/backend/nodes/list.c
src/backend/utils/mmgr/mcxt.c
src/include/nodes/pg_list.h
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/port/win32.h
src/include/portability/instr_time.h
src/include/utils/palloc.h