aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-05-28 15:08:12 -0700
committerAndres Freund <andres@anarazel.de>2020-05-28 15:25:15 -0700
commit59e390cac97555e54457874ef27092012cb48b18 (patch)
treef71b25d930445ffecdb26f43e80db855e30cbc0b
parente8eb485954463c2ed1d8dee48ae58063dffec972 (diff)
downloadpostgresql-59e390cac97555e54457874ef27092012cb48b18.tar.gz
postgresql-59e390cac97555e54457874ef27092012cb48b18.zip
llvmjit: Fix building against LLVM 11 by removing unnecessary include.
LLVM has removed this header, in the branch that will become llvm 11. But as it turns out we didn't actually need it, so just remove it. Author: Jesse Zhang <sbjesse@gmail.com> Discussion: https://postgr.es/m/CAGf+fX7bvtP0YXMu7pOsu_NwhxW6dArTkxb=jt7M2-UJkyJ_3g@mail.gmail.com Backpatch: 11, where JIT support using llvm was introduced.
-rw-r--r--src/backend/jit/llvm/llvmjit_inline.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
index 688edfe5254..9c60d58696b 100644
--- a/src/backend/jit/llvm/llvmjit_inline.cpp
+++ b/src/backend/jit/llvm/llvmjit_inline.cpp
@@ -56,7 +56,6 @@ extern "C"
#include <llvm/Support/Error.h>
#endif
#include <llvm/IR/Attributes.h>
-#include <llvm/IR/CallSite.h>
#include <llvm/IR/DebugInfo.h>
#include <llvm/IR/IntrinsicInst.h>
#include <llvm/IR/IRBuilder.h>