OSDN Git Service

In GCC-based builds, use a better newNode() macro that relies on GCC-specific
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 22:49:07 +0000 (22:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 22:49:07 +0000 (22:49 +0000)
commit6253f9de6702fa73101997034b4fec038d547f6d
treed1c0f99906b1578c11d5352c1267b5b580019bb9
parent7ad60b49dc61d7757012f84e2fb88e4e6d30995d
In GCC-based builds, use a better newNode() macro that relies on GCC-specific
syntax to avoid a useless store into a global variable.  Per experimentation,
this works better than my original thought of trying to push the code into
an out-of-line subroutine.
src/backend/nodes/nodes.c
src/include/nodes/nodes.h