Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ad9862

Browse files
committed
jit: Adjust back-patch off90b4a8 to 12 and 13.
While back-patchingf90b4a8, I missed that branches beforeREL_14_STABLE did some (accidental?) type punning in a functionparameter, and failed to adjust these two branches accordingly. Thatdidn't seem to cause a problem for newer LLVM versions or non-debugbuilds, but older debug builds would fail a type cross-check assertion.Fix by supplying the correct function argument type. In REL_14_STABLEthe same change was made by commitdf99ddc.Per build farm animal xenodermus, which runs a debug build of LLVM 6with jit_above_cost=0.Discussion:https://postgr.es/m/CA%2BhUKGLQ38rgZ3bvNHXPRjsWFAg3pa%3Dtnpeq0osa%2B%3DmiFD5jAw%40mail.gmail.com
1 parent527e62a commit9ad9862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/jit/llvm/llvmjit_expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ llvm_compile_expr(ExprState *state)
11541154
llvm_pg_var_type("TypeExecEvalSubroutine"));
11551155

11561156
v_params[0]=v_state;
1157-
v_params[1]=l_ptr_const(op,l_ptr(TypeSizeT));
1157+
v_params[1]=l_ptr_const(op,l_ptr(StructExprEvalStep));
11581158
v_params[2]=v_econtext;
11591159
l_call(b,
11601160
LLVMGetFunctionType(ExecEvalSubroutineTemplate),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp