summaryrefslogtreecommitdiff
path: root/src/backend/jit
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/jit')
-rw-r--r--src/backend/jit/jit.c7
-rw-r--r--src/backend/jit/llvm/llvmjit.c18
-rw-r--r--src/backend/jit/llvm/llvmjit_expr.c3
3 files changed, 10 insertions, 18 deletions
diff --git a/src/backend/jit/jit.c b/src/backend/jit/jit.c
index 43e65b1a54..e066f7230e 100644
--- a/src/backend/jit/jit.c
+++ b/src/backend/jit/jit.c
@@ -17,19 +17,16 @@
*/
#include "postgres.h"
-
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-
-#include "fmgr.h"
#include "executor/execExpr.h"
+#include "fmgr.h"
#include "jit/jit.h"
#include "miscadmin.h"
-#include "utils/resowner_private.h"
#include "utils/fmgrprotos.h"
-
+#include "utils/resowner_private.h"
/* GUCs */
bool jit_enabled = true;
diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c
index 82c4afb701..1c851e00fc 100644
--- a/src/backend/jit/llvm/llvmjit.c
+++ b/src/backend/jit/llvm/llvmjit.c
@@ -13,17 +13,6 @@
#include "postgres.h"
-#include "jit/llvmjit.h"
-#include "jit/llvmjit_emit.h"
-
-#include "miscadmin.h"
-
-#include "utils/memutils.h"
-#include "utils/resowner_private.h"
-#include "portability/instr_time.h"
-#include "storage/ipc.h"
-
-
#include <llvm-c/Analysis.h>
#include <llvm-c/BitReader.h>
#include <llvm-c/BitWriter.h>
@@ -39,6 +28,13 @@
#include <llvm-c/Transforms/Utils.h>
#endif
+#include "jit/llvmjit.h"
+#include "jit/llvmjit_emit.h"
+#include "miscadmin.h"
+#include "portability/instr_time.h"
+#include "storage/ipc.h"
+#include "utils/memutils.h"
+#include "utils/resowner_private.h"
/* Handle of a module emitted via ORC JIT */
typedef struct LLVMJitHandle
diff --git a/src/backend/jit/llvm/llvmjit_expr.c b/src/backend/jit/llvm/llvmjit_expr.c
index d09324637b..a9d362100a 100644
--- a/src/backend/jit/llvm/llvmjit_expr.c
+++ b/src/backend/jit/llvm/llvmjit_expr.c
@@ -23,10 +23,10 @@
#include "access/tupconvert.h"
#include "catalog/objectaccess.h"
#include "catalog/pg_type.h"
+#include "executor/execExpr.h"
#include "executor/execdebug.h"
#include "executor/nodeAgg.h"
#include "executor/nodeSubplan.h"
-#include "executor/execExpr.h"
#include "funcapi.h"
#include "jit/llvmjit.h"
#include "jit/llvmjit_emit.h"
@@ -46,7 +46,6 @@
#include "utils/typcache.h"
#include "utils/xml.h"
-
typedef struct CompiledExprState
{
LLVMJitContext *context;