Refactor aset.c and mcxt.c in preparation for Valgrind cooperation.

Noah Misch <noah@leadboat.com>

Commit: a855148a29b786b179308b3bd5c59fe5b67110d8
Author: Noah Misch <noah@leadboat.com>
Date: 2013-06-26T23:56:03Z
Releases: 9.4.0
Refactor aset.c and mcxt.c in preparation for Valgrind cooperation.

Move some repeated debugging code into functions and store intermediates
in variables where not presently necessary.  No code-generation changes
in a production build, and no functional changes.  This simplifies and
focuses the main patch.

Files

PathChange+/−
src/backend/utils/mmgr/aset.c modified +45 −20
src/backend/utils/mmgr/mcxt.c modified +28 −18