expression eval, jit: Minor code cleanups.
authorAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:04:50 +0000 (19:04 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 7 Feb 2020 03:54:15 +0000 (19:54 -0800)
commit1ec7679f1b67e84be688a311dce234eeaa1d5de8
tree75e94cf0188fb127ed79e656af98fc7fad362801
parent5ac4e9a12c6543414891cd8972b2cd36a08e40cc
expression eval, jit: Minor code cleanups.

This mostly consists of using C99 style for loops, moving variables
into narrower scopes, and a smattering of other minor improvements.
Done separately to make it easier to review patches with actual
functional changes.

Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de
src/backend/executor/execExpr.c
src/backend/executor/execExprInterp.c
src/backend/jit/llvm/llvmjit_expr.c