Fixup for b84a6dafbf triggering assert failure in LLVM debug builds.

Author: Andres Freund
This commit is contained in:
Andres Freund 2018-11-07 13:58:52 -08:00
parent c3e6d5d386
commit c14a8ff27e
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ llvm_compile_expr(ExprState *state)
v_params[3] = v_slot;
LLVMBuildCall(b,
FuncExecEvalSysVar,
llvm_get_decl(mod, FuncExecEvalSysVar),
v_params, lengthof(v_params), "");
LLVMBuildBr(b, opblocks[i + 1]);