From 7ef04e4d2cb287e4e28b87f24b4b36ef4e07530b Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 15 Nov 2018 22:00:30 -0800 Subject: Don't generate tuple deforming functions for virtual slots. Virtual tuple table slots never need tuple deforming. Therefore, if we know at expression compilation time, that a certain slot will always be virtual, there's no need to create a tuple deforming routine for it. Author: Andres Freund Discussion: https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de --- src/backend/jit/llvm/llvmjit_expr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/jit/llvm/llvmjit_expr.c') diff --git a/src/backend/jit/llvm/llvmjit_expr.c b/src/backend/jit/llvm/llvmjit_expr.c index be9b2aecffe..4cee35f582c 100644 --- a/src/backend/jit/llvm/llvmjit_expr.c +++ b/src/backend/jit/llvm/llvmjit_expr.c @@ -324,6 +324,7 @@ llvm_compile_expr(ExprState *state) { l_jit_deform = slot_compile_deform(context, desc, + tts_ops, op->d.fetch.last_var); } -- cgit v1.2.3