• Andres Freund's avatar
    Adapt expression JIT to stdbool.h introduction. · 2111a48a
    Andres Freund authored
    The LLVM JIT provider uses clang to synchronize types between normal C
    code and runtime generated code. Clang represents stdbool.h style
    booleans in return values & parameters differently from booleans
    stored in variables.
    
    Thus the expression compilation code from 2a0faed9 needs to be
    adapted to 9a95a77d. Instead of hardcoding i8 as the type for
    booleans (which already was wrong on some edge case platforms!), use
    postgres' notion of a boolean as used for storage and for parameters.
    
    Per buildfarm animal xenodermus.
    
    Author: Andres Freund
    2111a48a
llvmjit_expr.c 72.1 KB