Commit c14a8ff2 authored by Andres Freund's avatar Andres Freund

Fixup for b84a6daf triggering assert failure in LLVM debug builds.

Author: Andres Freund
parent c3e6d5d3
...@@ -422,7 +422,7 @@ llvm_compile_expr(ExprState *state) ...@@ -422,7 +422,7 @@ llvm_compile_expr(ExprState *state)
v_params[3] = v_slot; v_params[3] = v_slot;
LLVMBuildCall(b, LLVMBuildCall(b,
FuncExecEvalSysVar, llvm_get_decl(mod, FuncExecEvalSysVar),
v_params, lengthof(v_params), ""); v_params, lengthof(v_params), "");
LLVMBuildBr(b, opblocks[i + 1]); LLVMBuildBr(b, opblocks[i + 1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment