diff options
| author | Andres Freund | 2018-03-28 04:03:10 +0000 |
|---|---|---|
| committer | Andres Freund | 2018-03-28 04:03:10 +0000 |
| commit | f4f5845b3182ab930e525b1419bca47ac611604e (patch) | |
| tree | 5cd066447b1e4f38801071d3083126004ebaea40 /src/include/jit | |
| parent | b4013b8e4a271816ba87aa56f46dbc04a083d962 (diff) | |
Quick adaption of JIT tuple deforming to the fast default patch.
Instead using memset to set tts_isnull, call the new
slot_getmissingattrs().
Also fix a bug (= instead of >=) in the code generation. Normally = is
correct, but when repeatedly deforming fields not in a
tuple (e.g. deform up to natts + 1 and then natts + 2) >= is needed.
Discussion: https://postgr.es/m/20180328010053.i2qvsuuusst4lgmc@alap3.anarazel.de
Diffstat (limited to 'src/include/jit')
| -rw-r--r-- | src/include/jit/llvmjit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/jit/llvmjit.h b/src/include/jit/llvmjit.h index 9443a568d85..f6aed64d8d5 100644 --- a/src/include/jit/llvmjit.h +++ b/src/include/jit/llvmjit.h @@ -78,6 +78,7 @@ extern LLVMValueRef AttributeTemplate; extern LLVMValueRef FuncStrlen; extern LLVMValueRef FuncVarsizeAny; extern LLVMValueRef FuncSlotGetsomeattrs; +extern LLVMValueRef FuncSlotGetmissingattrs; extern LLVMValueRef FuncHeapGetsysattr; extern LLVMValueRef FuncMakeExpandedObjectReadOnlyInternal; extern LLVMValueRef FuncExecEvalArrayRefSubscript; |
